do you take anxiety medication everyday ???

or just when you are getting an anxiety attack then you take it????? it's a daily pill right?? idk im new to this whole anxiety issues.. 😓im 15