First of all congratulations on your pregnancy! These early weeks are so scary for those of us who have had losses before, but remember the odds are always in your favour and you have a good chance of a better outcome this time.
If you think you have a UTI, are you being treated? It is important to get treated quickly if you are pregnant as an untreated infection could possibly spread to your kidneys and cause problems. A standard non complicated uti is common in pregnancy and won't harm the baby, but you may need to take antibiotics to get rid of it.