Sex while curing uti ?

My husband wants to have sex while I'm curing my uti .?

Doctor didn't say anything when i asked.

Is it okay ?