Scratching posts are available in most department and pet stores as well as in online pet shops. The kind cats like best seem to be those made of rope as opposed to the ones covered in carpet. Place the post close to where your cat has been sharpening his or her claws. Over the course of one or two weeks, slowly move the post to the place in your house where you would like to keep it. Slowly moving it allows your cat to track where he or she should go to scratch.
Scratching is a way for cats to maintain their claws.
This is something that you can assist them with by trimming their nails regularly. Some cats tend to claw people and objects most when their nails are long. Trimming the tips can alleviate this problem. Scratching can also occur when a cat is playing with you. While not intended to hurt, even playful cat scratches can be painful and may potentially lead to infection.