Help? Uti?

I don’t know if i have a uti or std because one month i’ll have symptoms of a uti for a week, it’ll go away and come back a couple months later. it always seems like i have symptoms when i get or when i’m on my period?