Scrape off the old wax ring from the flange, toilet base, and floor using a putty knife. Inspect the flange for cracks, rust, ...
and this upward motion eventually closes the valve and stops the flow of water from the supply line. Tweaking the fill valve ...