You can stay erect by eating a healthy diet, prevent high blood pressure and high cholesterol, drink alcohol in moderation or not at all, continue a healthy weight diet, don’t depend on Kegels, exercise daily, avoid taking anabolic steroids recreationally, and check up on testosterone.