Confusing

Hi my period is six days late, did do a pregnancy test come back negative was it to early ?

I also have A urine infection could that be reason my period is late ?

Or could me having a urine infection affect the pregnancy test results?