It sounds like he is still having some pain. Have you talked to the vet on the phone? They may be willing to prescribe something without an additional visit. In the meantime, if he is still peeing in inappropriate locations, I would recommend as a temporary measure, putting him in a large dog crate with a litterbox, food/water and a soft bed or blanket that can be machine washed if needed. I would not confine him to the crate for more than a few days, but you do not want a temporary reaction to a medical problem to develop into a bas habit. Make sure to use an enzyme cleaner on anything he has peed on to remove the residual smell so that he will not be confused by it later. If you give him time and appropriate treatment, he will likely recover. Canned cat food is usually recommended for cats with urinary tract issues.