Generally, in the ceiling fan, there are 2 windings running winding & starting and winding. A capacitor must be connected to the starting and winding in series after that, it must be connected across the power supply. Alternatively, the running and winding are directly connected to the power supply.