There are plenty of guides if you just search google. But here is the gist of it.
Your going to want to tape off your entire fret board in masking tape, leaving only the frets exposed by cutting away the excess tape with a very fine razor. Be sure not to cut into the board, angle the razor into the frets so you don't ruin the wood.
Once frets are exposed, take a permanent marker and cover the tops of all the frets where the strings would hit.
Next, you will need a very flat file. You want to make sure that this is as FLAT and as TRUE as possible because you will ruin your fret dress otherwise. It will be nice if it has a handle on the top side of the file, and not a handle on the end because it will get in the way and make it too difficult.
Start carefully filing away, vertically, from the first to the last fret. You want to make sure you are making even strokes, and GO SLOW. You will have to adjust as you are filing to compensate for the radius of the fretboard. This is where the permanent marker comes into play. ONCE the markings have disappeared, you will know that you have filed enough. If you have major flat spots, it's going to take quite a bit of filing, but don't get too crazy or the frets will be too flat to play the guitar properly.
After the first markings are gone, mark the frets again and go over the board slowly JUST to make sure that you have indeed leveled the board to your liking.
Your frets are now leveled, and they must be crowned.
You can crown them yourself with a flat file, or a triangle file, but I'm telling you right now its a serious hassle to do it this way, and you will get frustrated and tired and annoyed and inevitable cut into the sides of the wooden fingerboard. If you have some serious patience, then give it a go, but I highly recommend getting a fret crowning tool from STEWMAC or other tool suppliers.
To crown, you must mark the frets again with marker, and start crowning until a very fine line of marker remains in the center of the fret. DO NOT crown past the marker or you will have to level the entire board again.
Once all the frets are crowned to perfection, you can begin to polish. The frets at this stage are very rough. You will need to start out with 400 grit if it is rough enough, then progress from 800 up to 2000. COUNT each stroke for each grit you use, because you need to make the same amount of strokes and the same amount of pressure on each fret to ensure that they stay level. This can be tricky. You can use steel wool after 2000.
After you finish to 2000/steel wool or whatever you have available, you need to polish with a metal polish to bring them to a brilliant shine. I would suggest EAGLE ONE NEVR-DULL wadding polish. It comes in a metal can, and is basically wads of material soaked in polish that you pinch off. This will make the frets SHINYYYYYYYY and awesome.
Once the frets are all polished, you are done. Or you might not... If you are unsure, leave the tape on and string up the guitar. If it doesnt play right, you are one step ahead because you are going to have to do the fret level again!!! If you are confident, rip that tape off and string up the guitar, and enjoy the time and effort you put into crowning. You won't be able to play very well for a while, cause your fingers are going to be raw and sore from sanding and polishing. And if it sounds like shit, take solace in the fact that you learned that fret jobs suck, and take it to a pro and get raped for $$.
Have fun! (Yea right!)