My wife and I recently adopted a cat from the shelter. He is about 5 years old and his name is Doogie. We are having problems with him using his litter box. He uses it sometimes, but other times he goes in this one area of our apartment on the carpet. Each time he goes on the carpet we go show it to him and tap him on the head and tell him NO with a stern voice. Then we put him in our bathroom, where his litter box is and make him stay there a while. Like I said before its hit or miss. Usually after that he uses his litter box for a day or two then goes right back to that spot and uses the bathroom. We have tried different cat litter and currently have the natural pine cat litter. When he uses his litter box we always tell him he did a good job and scratch and pet him. He has been doing this for the last several weeks, and started about two weeks after we brought him home. Does anyone have any advice? Thank you so much.