Can UTI meds cause yeast infection?

Has anyone else gotten a yeast infection after a UTI? I took a pill a month ago to get rid of a yeast infection. Then got on medication for a uti, and now I’m pretty sure I have a yeast infection 😑