Uti treatment?

Have had horrible itching for 3 weeks. Went away second week while I had my period and came back as soon as it ended. Took a home azo test and came back positive for possible uti. Problem is I’m allergic to Bactrim which is the usual treatment. I’ve never had a uti before. How do you get rid of it if you’re allergic to the antibiotic?