Can I go to urgent care for this?

My health insurance doesnt have maternity coverage and I just found out today that I'm pregnant. I also feel like I have a yeast infection. Can I go to urgent care for yeast infection medication and a pregnancy test?