Because I know it's wrong, I'm trying not to hate all men.
Can you tell me more about your hatred of all men?
I'm thinking I'll shoot the first man who dares to look at me
That would be a bad idea. You shouldn't hate someone based on any aspect of their social identity and you definitely shouldn't kill them for it. That's illegal and harmful.
Maybe prison will be a good place for me to start again.
Prison is a hard place to be and has no guarantee of helping you. Disliking men just because they're a man is wrong, but if you're feelings are this strong there are way to get past these feelings that don't involve prison or harming someone else. You need to seek professional help and work to understand why you feel so strongly against men and how you can control your anger and emotions.