Anxiety Medication

Hey guys so I’ve been thinking about going onto anxiety medication. My therapist recommends it but says I should get a second opinion. I plan to go to a psychiatrist to see what they say and have them answer some more questions on mine but I’m just curious what your experiences were with it for anyone who has tried it. Does it have to be something you take daily or are there some kinds of medication you can take when you know a moment is going to be anxiety triggering. Thanks!