Under the tank of the toilet, it's usually an oval-shaped knob. To shut off the water, turn the knob in a clockwise direction. When the water is turned back on, this will prevent an overflow.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.