Yeast infection/UTI

I currently have a UTI and remembered I had medicine for it but took a pink pill that I didn’t realize was for yeast infections. Will that effect my body in anyway?