Psychological stress can also affect achieving an erection or reaching an orgasm. Exercise is a great way to reduce stress and improve your health. Talking to your partner about your stress can also calm you down, while strengthening your relationship at the same time. Stress can also trigger bad habits, such as smoking or alcohol consumption, which can harm your sexual performance. If you’re not lasting as long as you’d like in bed, you might need some practice. While sex is the best way to practice for sex, masturbation can also help you improve your longevity.