If verbal reprimands are not effective, a quick squirt from a water bottle will let your cat know when it has made a wrong choice. Until the rules are fully respected, cats can be confined when unsupervised. Training will go a long way. Training also helps increase the bond between the cat and its owner by increasing their level of communication. Declawing is a controversial procedure.
Some people feel it is inhumane.
I believe there are appropriate reasons and times for declawing to be performed. It is a valuable procedure in many circumstances. It can be a life-saving procedure when the options are to euthanize the cat or have it declawed. For more information on pet care, contact your local veterinarian.