Refinishing Hardwood Floor Tools and Finish: Tools to use for sanding and recoating hardwood floors

I’m going to refinish my hardwood floors; what grid sandpaper should I use and what type of coating should I put back on the hardwood floors?