How To Prevent Kitten From Eating Your Plants?

to prevent kitten from eating your plants? how to stop kitty from peeing on the floor?

how do you trick a kitten into thinking it’s time to go outside?