Corticosteroids are not anabolic steroids and do not have the same harmful effects. But doctors never prescribe anabolic steroids to young, healthy people to help them build muscles. Without a prescription from a doctor, steroids are illegal. There are many different kinds of steroids.