Every cat is an individual and just as individual is their education. Those who master the basic rules of cat education know that not every cat responds equally well to every educational method. For example, in the reward of desired behavior: Although a treat is a much sought-after reward for most cats, some cats are happy about a petting or just a little encouragement much more.
This is similar with the punishment of unwanted behavior: A sensitive cat can be very scared by loud calls at unwanted behavior, while the boor cat in the same household even ignored the water pistol. In both cases, the punishment does not achieve the desired goal, but the opposite: The frightened shy cat closes for fear of any further educational methods and the lout hangover is becoming increasingly resistant to such. It is therefore not only important to reward and punish at the right time, but to tailor the methods to the particular cat. But sometimes that means you have to go other ways than punishment and reward.
So, before you lose your patience, it sometimes helps to clear away fragile things and try again a few months later. If the cat still jumps on the table after months of unsuccessful attempts at education, double sided tape can help in the short term to spoil the cat. And if no attempt at education is so fruitful, one should also think about what causes the unwanted behavior of the cat could have.
Some cats hope for more attention through misconduct. Any punishment would satisfy the cat’s desire, which is why in this case it will achieve exactly the opposite. Here it helps to ignore misconduct and otherwise exploit the cat. For example, with intelligence games or clicker training. At the latter, some cats even have so much fun that they can eventually make so many dogs in terms of tricks and obedience competition and thus prove: If you know how, let cats educate and even sometimes very happy!