Filling up gas with baby in car

This may seem like a stupid question, but what do you moms do when you have to fill up the gas in the car and baby is in the backseat, particularly in the summer? Do you just fill quickly and lock all the doors? Do you keep engine running (even though you're not supposed to)?