Hey so I've had this problem multiple times at work-the answer is to talk to HR about it. Don't talk to him, let HR know it's a problem and then it's up to them to make changes. If this conversation and his demeaning attitude towards women doesn't not continue to change-report again. You can not get in trouble for this at all-that's retaliation and that's illegal