It's been said before that women keep going for guys that are jerks but what are the guys doing that are jerks for most though, unless guys mean infidelity mostly, or is it other things in general?

I have a gf and strongly against cheating, so I have strict principles not to.  However, I hope I am not a jerk in general, if women most likely go for jerks most of the time.

However, I know a couple of guys who's gf's are jerks to them in general, so I wonder how often it goes one way, compared to the other, when guys say it's a problem that women keep going for jerks.

But if that's the case, what is it that guys are doing that makes them jerks most of the time?