You may want to consider hanging out with a different crowd...
Also, this is not "hanging out", this is the workplace. Different standards should apply. Bullying and intimidation in the workplace is unacceptable for any reason, and in this case it's both bullying and sexism.
Yes, I know this is how certain groups of men behave. It also happens to be the same men who's jobs are in danger of permanently disappearing, and this is exactly one of the main reasons nobody gives a shit.