The answer to 'how to fix ceiling fan' is to first turn off power to the ceiling fan at the circuit breaker. Then, inspect the fan for any loose or damaged parts, like the blades, motor, or wiring. Tighten any loose screws or bolts, and replace any broken components. Check the pull chains and ensure they are working properly. Finally, test the fan to ensure it is working correctly before turning the power back on.
It's important to take safety precautions when working with electrical systems. Wear protective gloves and use a step ladder to safely access the ceiling fan. If you're unsure about any part of the repair process or feel uncomfortable working with electricity, it's best to call a licensed electrician to handle the job.