Two more suggestions in case you run out of (or are too low on) fuel:
- synthesis. On you right hand HUD, in the inventory tab, there's also a section about synthesis. Besides ammo and limpets, you can also synthesize fuel injections for your FSD, increasing the jump range. Sometimes, that's useful in sparse regions of the galaxy where the next star is just out of reach, other times you can use it to increase your jump range when you're running low on fuel. You'll need some (and in the case of the highest level, rare) materials for that.
- The Fuel Rats. They have fuel, and don't ask questions. Call them up (via IRC, their website or their Discord) and if they can save you, they probably will.
https://fuelrats.com/
If you happen to be a "Code Red" (i.e. ran out of fuel and are subsiding on emergency oxygen), note your location (which system and, if possible, your position in that system), then log out of the game before calling the rats. Worst case
1, you only got 5 minutes to live, and you don't want to spend 4 of those 5 minutes waiting for Dsipatch to find a Rat that can help you.
1 Which is one, but not the most important, reason I ususally run A rated life support - that also lets you vent your feelings (with interest) against the pilot who just cracked your canopy and still have enough reserves left to return to base for repairs.