J.P.
Step one, take the cat to the vet if it is a physical thing.
Step two, get Feliway. It is a cat hormone that is supposed to ease anxiety (it is a plug in similiar in style to an air freshner). Put it in the bathroom, just in case it is behavioral. Good luck.