I have medicine that I take as needed for anxiety. When my mom died in December I had a severe panic attack, and felt like I was having a heart attack, I was having a difficult time, I took something everyday for a few weeks.
Prescriptions are meant to address specific physical or mental issues, and if you take them as prescribed I feel that's fine.