Place a scratching post in a visible and accessible area, and encourage your cat to use it by rubbing some catnip or treats on it. Redirect them to the post whenever they start scratching furniture or carpets.