To prescribe medicine means to tell someone to take it.
When I was sick, the doctor prescribed me flu medicine for me to take.
Example picture