Depending on the degree of rust, a simple mix of BB's (or shotgun lead shot) and some Simple Green cleaner will usually work A-OK. Put about a handful plus in the tank; put the cap on the tank, put the tank in the back of a car trunk or pickup truck, and ride around with it for few days (or weeks, whatever works for ya).
Pepsi cola works too with ammo shot (mild acid).
Rinse it out w/H2O when done, then dry the tank with hair dryer or a splash of rubbing alcohol (do not use heat with the alcohol!).
If the tank is ancient, it will be a good time to seal it with product like Kreem.
If tank is newer, a bit of engine oil sloshed around and then dumped out will be fine to lightly coat the tank till gas time.