You just take a wild guess at what side of the car your gas tank is on every time you pull into the gas station.
Here's the right way to do it: There's usually an indicator on the gas gauge that shows what side the gas cap is on. Take a look.