doctors prescribe pills for illnesses