Cats are known for climbing. Therefore, do not tempt fate by leaving your treasured possessions where they can be knocked over. Trash and other dangerous substances should also be kept out of reach. Make sure doors and windows are securely closed. As mentioned before, removing temptation can solve many problems but, not all.
Cats are very intelligent and can be trained to behave appropriately.
Although, training cats is somewhat different from training dogs, cats do respond to praise and rewards. Unacceptable behavior should never be rewarded with positive attention. Consistency and timing are everything in training. Punishment has almost no effect, except perhaps to teach your cat fear. Instead, keep a spray bottle of cool water handy.