You need to get him to a vet to rule out crystals in his urine or a UTI. Cats don't pee inappropriately unless there is something wrong, usually a Urinary Tract Infection.