There are some precautions you can take if you are worried James. In simple terms, male-pattern baldness is due to to a genetic sensitivity to DHT which is kinda a byproduct of testosterone. Women can also have that genetic sensitivity but are generally less likely to have MBP hair loss due to them generally having lower testosterone than us guys do. It can be a more complicated than that though cuz some people can have high testosterone & low DHT & others can have low testosterone & high DHT but I'm talking in general. Things that can raise testosterone like the steroids that bodybuilders take could potentially increase DHT & contribute to MPB hair loss if you have that genetic sensitivity to DHT so I'd recommend staying away from those steroids if you or anyone else reading is concerned about hair loss & is taking steroids or considering them. If your ill & the doc wants to give you a shot or med steroid like Cortisone or Prednisone for a few weeks, I would not worry about hair loss. However if I was gonna be on a med steroid for an extended period, hair loss would be a concern.
There are some various supplements that claim to help prevent hair loss & help hair health. I think the effectiveness of supplements can be somewhat dependent on your diet & if you have certain health conditions. A balanced diet would be best but if your like me & are a very picky eater, perhaps certain supplements would help offset that some. I'd highly recommend doing some research before trying any supplements. I'd also recommend looking around at physical stores & online to compare prices before buying cuz the prices can vary a lot. I 1st saw one supplement at the Walgreens store near the Rogaine when I was buying that & I did a little research on the supplement & when I decided to buy it, I found it on eBay for a bit less than what Walgreens is selling it for, even after applying the 20% off I was getting on a lot of products at Walgreens at the time, & adding tax to the eBay price(I don't pay tax here when buying supplements at stores or Amazon), & adding the cost of shipping if shipping was not free, & I still save a bit of money. I also sometimes get better deals if I buy in bulk & get more than one month worth at a time which is also nice because I don't have to order it again as soon.
The shampoos & conditioners you use can affect hair loss as well. Some can be very bad for the hair while others might could be beneficial so doing a little research might be useful.