One is that our bodies can be taught to orgasm more quickly or slowly through touch and sensitivity conditioning. When you masturbate, try bringing yourself close to orgasm and then stopping. Repeating this cycle, often called edging, can help your body not get carried away when you are having partnered sex. This does not work for everyone or every time, but with practice, it can also simply help you understand our own body's responses better.
The second thing to remember is that one's partner's orgasm does not mean sex is over. Sex is so much more than penial penetration; sex is anything that you and the person you are connecting with find physically and emotionally pleasurable. Because of this, you can last longer by simply mixing up what intimate activities you engage in.
Lastly, remember that sometimes we think that we aren’t satisfying our partners when we really are. By communicating openly and honestly, we can come to understand what will enhance the quality of sex we are having, which oftentimes has little to do with how many minutes we are inside the other person. By having diverse sexual activities, you can keep things fresh, enjoy as much pleasure as you both want, and learn to experience intimacy in new ways.