Missed period

My boyfriend and I had sex about 2 weeks ago and right after I got a UTI. My period was supposed to come 2 days ago and I am usually never ever late. Is it possible that the UTI made my period late or should I just take a pregnancy test to make sure? I am very scared I cannot be pregnant right now and I have been reading online that many other girls have the same problem with having a UTI and a late period