UTI 9 weeks pregnant

Al
I am freaking out! I am 9 weeks pregnant and im pretty sure i have a urinary tract infection. There is a bit of pink when i go pee.  Am i having a miscarriage? Anyone been in this situation before??