How do you get to Carnegie Hall? Practice man...P R A C T I C E!!
If you masturbate don't make it a race to orgasm. If you don't masturbate then start and don't make it a race to orgasm. Learn how to control the sensations.
When with a partner the female superior position will give you a greater ability to control your release. Also...breathing is very important. Make sure you practice regular, deep, and rythmic breathing...Google up "premature ejaculation". You should find some good help out there.
Practice...