I think that there isn't a man alive who could stand up to the new #MeToo standard, which is that you NEVER EVER made a mistake in your life when it comes to a woman.
THERE I said it.
We need to end this witch hunt now.
It's actually very easy. Depends on what you call a mistake, though. If you came on to an employee and she said no and you threatened her job, that's not a mistake--that's sexual harassment. If you continually ogle a coworker and tell her off color jokes and she doesn't grab your ass, laugh or swap even dirtier jokes back, that's creating a hostile environment.
Just don't think of women at work as sex objects. Think of them as coworkers or employees, instead, and you'll be absolutely fine.