If you are a [insert identity], there's guaranteed to be an expert out there - who happens to be a [insert different identity] - who knows more than you about whatever issue you attribute to your identity.
To run with your example, you arent an expert on birth control simply by dint of popping a pill (or whatever method is being used) they, on the other hand, might actually be be they a medical professional or whatnot.
Simply put, stop being a sexist and complaining when someone who happens to have a **** tells you when you're talking claptrap.
Here's a safe space to vent and tell your stories about any mansplaining you have had to endure! Here's mine: my ex tried to explain birth control to me and even tried to tell me which i was allowed to get! He didn't 'like the idea' of the implant so said I can either have the pill or injection.... I got the implant 😂 however in hind sight the best birth control would've been to dump his ass after that big red flag!
The male culture & masculinity that I understood and grew-up with revolved around respect, treating people with generosity and absolutely NO violence (alongside my friends/family/neighbours). The behaviour you describe is abuse and disrespect and very much frowned upon. My parents would be appalled if me or my brother behaved like that. We were raised and expected to stop bullying & speak for the weak/vulnerable.
The problem here is that masculinity is a vague and difficult concept. It is necessarily a bit subjective & cultural. Are there versions of masculinity that are aggressive, dominating and violent? Of course. But there are at least 5 to every 1 who is rude/aggressive that are respectful.
Like homophobia, it is usually a mental space for internalising fears and anxieties about unpleasantness, experiences and pressures. The availability heuristic is bound to warp a person's worldview in which they don't notice the bigger picture. It becomes very easy to pathologise people; but a lot of the behaviours that are attributed to men are probably not so. The same with men who make who'd say "you know what women are like".
and he gave me rep in return.
Also i dont know how the ops situation looked exactly but since you were discussing birth control with your partner which would be used during sex between you two he wanted to say some of the ways to go about it are turn offs for him or simply dont work as well as others and he would rather reduce the chance of pregnancy by 95% than 70% ?