Keep dangerous or breakable objects out of reach, and that includes extension cords, household cleaners, pine-based cleaning products and glassware. Remember that unwanted behavior that may seem cute at first can become a major problem. Some cats ignore houseplants, while others find them fascinating to chew or use instead of a litter box. And some plants are dangerous to pets. For chewing, try a citron-based repellent or dust some cayenne pepper.
Cats hate the smell of citron.
For urinating, sprinkle a little vinegar on top of the soil and cover the soil with aluminum foil. It's not only the cat that needs training. So do children. Children who haven't yet understood that cats have rights and must not be pulled, tugged, screamed at and so on are too young to have a cat. But much more often, the child simply hasn't learned to think of the cat as having feelings too.