My boy has uti

He's been peeing everywhere - He was completely housebroken before uti now he just goes everywhere furniture, floors, his bed.
Don't know what to do he used to pee on his pee pads when he had to go. Now he's afraid of pee pads because poor baby was in alot of pain so I think he remembers peeing on pad and all the pain he had.
I don't know how to train him back on pee pads - Any suggestions?