Technically, not supposed to do so.
Why? Because in order to prescribe any medication, you should have done an OBJECTIVE physical assessment of a person, followed by diagnosing based not just on presenting symptoms, but also on evidence from lab work.
It is hard to be OBJECTIVE when you are prescribing for yourself. You can empirically treat something you suspect yourself of having, but its best to have an outsider examine you.
Will a Doctor get caught for self prescribing medication? Most likely not.
Can it look bad if you get reviewed? Yes.
Will anyone really give you shit about prescribing yourself Prevacid? No.
Steroid or Pain Killers? You're gonna get caught.
"1"