There is no way to guarantee that you won't be a victim but there are ways to protect yourself.
Be careful who you're with when you go out, have a buddy and keep tabs on each other. Don't let anyone tell you you can't say no at any point. Be prepared to protect yourself, self defense classes may help. If you're meeting someone new, don't have him drive you, drive yourself.