How to get over being uncomfortable around attractive women?

At work, in public, in a social setting. Whenever I find myself around a some what or a regularly pretty girl. I seem to feel a weird anger and slight resentment, I get clammy I just want to get away from them. (I know it sounds weird) Could it be my past experiences with Girls and Woman growing up (mostly being negative) that is causing this? It's a weird way to feel because most dudes want women around them, but for me I just feel uncomfortable. It's like my brain has all of these preemptive ideas about the all the possible situations that might happen. I think the Relationship/wanting a woman part of my brain is broken. Some Advice would be nice.
How to get over being uncomfortable around attractive women?
Post Opinion