There are two options
1: "Full to Empty" prepay the fuel, the different amount depending on the category, and that's it! You can return the car without looking for a gas station.
2: "Same to same" you should return the vehicle with fuel as much as when you received it. If the fuel is less you will have to pay the difference and you will be charged a refueling fee.