Pacing, hydration and nutrition are the main things to consider. Eat and drink little and often. Pace slower at the start and don’t eat or drink anything you haven’t tested beforehand. Also don’t wear anything brand new, especially regarding contact points ie shoes, shorts, gloves.