Three basic rules of personal safety:
DO stay alert. Keep your mind on your surroundings; who is in front of you and behind you. Don't get distracted by listening to music through ear buds or texting or talking while walking. If you're worried about crime, ask a friend to accompany you when you go out.
DO communicate the message that you are calm, confident and know where you are going. Stand tall, walk purposefully and make quick eye contact with people around you.
DO trust your instincts. If you feel uncomfortable in a place or situation, leave.