Help please

Hey!

If you have UTIS or kidney infection can you have sex?does your man will get it too?