Fueling for long runs

I’m a beginner runner, who is just starting to run longer distances/times.
- What length run (time wise) should you fuel for, and how often during the run?
- How often and how much should you hydrate or take in electrolytes on a run?
- Any fuel recommendations (gel/goo/chew/electrolytes)? I can always post this question in the product recommendation section as well.

Thanks!