No Period for 6 days

Does UTI prevent you from getting your period?

If not, then could I possibly be pregnant? Because my bf and I had unprotected sex 1 day after my ovulation cycle.