Over time vibrations from a fan motor can loosen a plug from an older outlet so check this first.
How to fix floor fan motor.
Flip your fan around and find the screws in the back.
For fans like this if they don t hum or get warm the failure tends to be the switch the power cord or a blown thermal fuse in the motor.
There will be screws on the back holding this case in place.
If you still can t make your floor fan work replace the motor.
On most fans there will be a plastic vent that allows heat and air to escape from the motor.
If cleaning your motor doesn t help look at the fan belt.
With your pin and front motor mostly exposed turn your fan over to inspect the opposite side of the motor case.
If the motor hums but doesn t run and if it s hard to turn its because the bearings are seized.
This repair turned out much easier than i expected.
If your plug keeps falling out you may want to replace the receptacle for a nice tight fit.
Paid consideration by nextpcb.
It sounds simple but your first step should be to make sure the cord is securely plugged in.