If you're not in any sort of shape at all you might want to start with a couch to 5k app to get you going. Plenty of training programmes out there for marathon distance but you'll need to get into a decent starting position before you look at them I'd say.