Uti or std??

So I was with my partner and we kinda used his saliva as lubricant and the next day he felt discomfort could that be because of the bad bacteria? I got tested today just incase.