Ride the bike to your local shop (if they're still open). Ask the friendly mechanic if he can figure out why your tire keeps going flat. (You may have worn the rubber down to where it's not very puncture resistant.) While he's in the back, go look at new bikes anyhow. It's fun, and you don't really have to buy one.