The most important thing is to go for a long run one every week or ten days and try to make each run a mile or two longer than the previous one.
If you're planning to run the whole thing you'll want to get up to about 20 miles in training. If you're just hoping to get around I'd recommend walking at the start instead of the finish because it's a lot more comfortable.
Bookmarks