The easiest way is to ride the JR Narita Express to Tokyo station and stay in one of the hotels around the station. Then the following day, ride the Narita Express back to the airport.
There are a number of hotels in the midrange and luxury categories within a few minutes walk of Tokyo station. There is also a fair amount to see without having to get on any other form of public transit, although none of the sites mentioned just above.