I would advise you to try to manage without pills. And don't take any medication at all without a doctor's prescription. You could try starting with a massage or some herbal tea, going to bed earlier, and not using the phone before going to bed.
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.