Pro sports could fix this problem, but they choose not to. There's only upside to steroid use and not much deterrent.
If the penalty was:
1. Forfeiture of salary
2. Lifetime ban from the sport
...you'd see a lot less use.
Think stiffer penalties don't work? Just ask Bill Belicheck...