First of all, check to make sure that your airline doesn't include the price of an overnight hotel in your ticket.
Anyway, the area around the airport has kind of a suburban strip mall look, so you're unlikely to find anything real interesting there. The city of Narita has a couple of inns (check the links through the Japanese National Tourist Office at
http://www.jnto.go.jp) if you want something more traditional.