Bare steel rusts when it comes in contact with moisture or moist air. So the rusting area is probably not painted, or it's rusting from the inside where it can't be coated. If you can file, sand or scrape off the rust, you can touch up the spot with paint. If you leave any rust or can't reach it all, it will likely come back.