UTI & periods

Can an uti delay your period ? I recently had one but did not treat it with antibiotics it went away On its own but now my period is 5 days late