Drugs will not prevent pas, in fact they can be side effects of those drugs. That said, those are both used for tx of anxiety
as well as both being prescribed in depression
. I'd like to suggest trying talk therapy too. Cbt can really work for learning ways to both reduce the freq, severity & manage the symptoms you identify. Best wishes.