It is better, of course, to avoid stress, lead a healthy lifestyle and stick to a balanced diet. But it doesn't always work out. It all depends on the severity of your condition. I took oxazepam, for example. You can read more about it at
https://medicalbrandnames.com/antianxiety-medications/oxazepam.html. You can try to talk to a doctor about it. In any case, it is up to you.