One of the most effective ways of learning how to be funny is to simply do what the experts do.
Model other funny guys.
Start off by copying exactly what they do. They’re good at making women laugh for a reason. And that reason itself is worth close observation.
Pay attention to what they say, how they act, and how they use their tonality, body language, gestures, facial expressions, etc. There might be many things you don’t agree with or don’t understand, but you should only judge their approach after you’ve managed to copy their style exactly. Only then can you say, “I’ve done the same. But it’s not producing the same results. It might not work for me.”
When you’re with some other funny guys, imagine yourself “stepping into” his shoes and act together with him. You may find it strange, silly, or discouraging at first (especially if that guy is really good), but you’ll find yourself improving at a much faster rate than if you only take on an observer’s role.