Summarize this article:

Not only can this save you from inattentive drivers, it also gives you the best chance of spotting early warning signs there might be a problem--such as somebody following you--and makes you look less like an easy victim. If no designated walking path is available, stay as close to the side of the road or parking lot aisle as possible and walk facing the flow of traffic. Note that in the United States, vehicles drive on the right, but in some island nations such as Great Britain and Ireland, vehicles drive on the left. Although rare, drivers do sometimes go the wrong way down one-way streets or drive on the wrong side of the road.  You'll be able to quickly tell whether the driver is paying attention and aware of you or not. Walking while under the influence of alcohol increases your risk on many levels.
Pay attention to your surroundings. Stay on the sidewalk or multi-use trail. Always look both ways before crossing the street or any other lane of traffic flow. Familiarize yourself with local traffic laws--and your responsibilities as a pedestrian--whether you're at home or traveling abroad. Predict vehicle movements by looking at the driver inside the car, not by looking at the car. Stay sober.