How do you control your climax during intercourse?

Is this something you put dedicated effort and strategy into during intercourse, or something your body can just naturally do pretty easily?

For men who have really good control over their climax during intercourse — did you achieve this through years of consistent & tailored masturbation, or is it just something your body has always been able to do?