Healthy lifestyle habits can help your erections feel healthier and last longer. Eating well, exercising, abstaining from smoking or drinking alcohol, getting enough sleep, communicating with your partner, and reducing stress can all play a role in improving your sexual responsiveness.