Doctors prescribe anabolic steroids to treat certain specific medical conditions. For example, they may be used to treat the muscle wasting seen in AIDS. Steroids may also be used to treat delayed puberty or loss of testicular function. Hope this helped have a nice day!