I assume you live alone and have no help to hold the cat while you medicate him. I suggest you wrap the cat firmly in a large towel leaving only his head exposed. If the medication is liquid, use a syring to dribble it between his cheek and teeth on one side of his mouth. Don't worry about opening his mouth, just dribble it into his mouth slowly and make sure she swallows it before you let him out of the towel.
As for the inappropriate elimination, you need to put him in a small room, a bathroom is ideal, with food, water and a litter pan until his inappropriate messing stops and he is using the litter pan appropriately. He could be avoiding the litter pan because he does not like the litter; you haven't changed the type lately have you?
I am sorry the poor guy is sick and I hope get gets better soon.
As for the inappropriate elimination, you need to put him in a small room, a bathroom is ideal, with food, water and a litter pan until his inappropriate messing stops and he is using the litter pan appropriately. He could be avoiding the litter pan because he does not like the litter; you haven't changed the type lately have you?
I am sorry the poor guy is sick and I hope get gets better soon.