Flip the wall switch controlling the bathroom vent fan to the off position. Position a stepladder underneath the vent fan, if it is located on the ceiling.
Remove the fan cover. Unscrew and remove the screws holding the cover into place, using a screwdriver.
Remove the screw holding the fan into place, using a Phillips screwdriver. Depending on the particular design of your vent fan, there may be only one screw, or there may be more.
Pull the fan out of the wall or ceiling recess. Wipe any dirt off the fan blades, using a rag. Dirt not only causes the fan to rattle because of imbalance, it also impedes the flow of air.
Place a few drops of penetrating oil, such as WD-40 or 3-In-1, into the fan motor bearings. Rotate the fan blades around with your finger, to work the oil in.
Reinstall the fan into the recess, putting any screws that anchor it into position, using a Phillips screwdriver. Position the cover over the vent fan, and reinstall the screws, using a screwdriver.
Flip the wall switch controlling the bathroom vent fan to the "on" position, and make sure the squeal is gone.