I get lost all the time too. So far I've found the best way to stay on course is to create a simple map using google maps as a reference, then write out at what point (in kms or miles) each road starts, or any other reference points along the way.
If you're computer is accurate and the maps of your area are as well, you should know if you're turning right onto route #14 at km 56 that you should keep you're eye out and if you're at 60kms you should turn around.