Directions will vary with the fan, and how complex a connection you want to make. Most likely, you will end up with a 12 volt dc fan, and will want to use a less involved method to make it compatible with ac. The fan voltage, etc. should be listed or labeled on the case. If a 12 volt dc fan, go to a thrift store and buy a 12 volt cell phone charger. If you get a 6 volt fan, buy a 6 volt charger, etc. hooking up a 12 volt fan to a 6 volt charger will make the blades spin slow.
Cut off the very end of the phone charger wire that ends in a square connector rather than a typical wall plug.
http://cltampa.com/imager/not-my-ne.../original/2266897/6c3e/cell-phone-charger.jpg
Cut the end that is on your right in the photo.
Then, use a wire splicer to remove the outer black coating. You should see one small red and one small black wire inside. Remove enough of the red and black coating that about an inch of metal is exposed for both wires.
http://newttech.net/wp-content/uploads/2006/08/USB-Charger-Project 004.jpg
Take a look at your fan. It should have at least one red and one black wire. Some differ, but generally, any green, yellow, or blue wires are sensors or for speed control and can be ignored. Strip the red and black wires until about an inch of metal is exposed for both. If your fan does not have a red wire, then in that case, yellow is usually what you use in place of red.
You will be hooking the red wire on the charger to the red wire on the fan (or if the fan has no red wire, hook the yellow fan wire to the red phone charger wire) and the black charger wire to the black fan wire. There are different ways to do this, and a good photo source is
http://www.mmxpress.com/technical/connections.htm
Make sure no metal wiring is exposed when finished, no matter the method used!
Take a look at the fan case. Usually, you will see an arrow somewhere near the blades. This indicates what direction they are meant to turn in. Plug the phone charger into a wall outlet, and make sure the blades are moving in the direction indicated. If they are not, the wrong wires were connected.