The answer to 'how to fix toilet' is to first identify the specific issue, such as a clogged toilet, a leaky toilet, or a malfunctioning flush mechanism. Once the problem is identified, you can follow the appropriate steps to fix it. For a clogged toilet, you can try using a plunger or a toilet auger to clear the blockage. For a leaky toilet, you may need to replace the wax ring or tighten the bolts that hold the toilet to the floor. If the flush mechanism is malfunctioning, you may need to adjust or replace the flapper or other components.
It's important to take safety precautions when working on a toilet, such as turning off the water supply, wearing gloves, and ensuring proper ventilation. If you are not comfortable performing the repair yourself or if the issue is more complex, it's best to call a professional plumber for assistance.