How Can I Get Hard? Lifestyle Fixes and Medication

Getting and staying hard depends on blood flow, nerve signaling, and mental state all working together. When any one of those breaks down, erections suffer. The good news: most causes are fixable, and many don’t require medication. Between 5% and 10% of men under 40 experience erection difficulties, and that number rises to about 22% by age 40 and 49% by age 70, so this is one of the most common health concerns men face at every stage of life.

How Erections Actually Work

An erection starts when your brain sends signals through nerves to the penis, triggering the release of nitric oxide. This chemical causes the smooth muscle tissue inside the penis to relax, which opens up small arteries called helicine arteries. Blood rushes in and fills two sponge-like chambers (the corpora cavernosa), and as they expand, they compress the veins that would normally drain blood away. That trapping effect is what keeps you hard.

Anything that disrupts this chain, whether it’s reduced blood flow from clogged arteries, low nitric oxide production, nerve damage, or stress hormones clamping down on the process, can make erections weaker or harder to maintain. That’s why the solutions below target different parts of the chain.

Exercise Is the Single Best Lifestyle Fix

Regular aerobic exercise improves erections by strengthening your cardiovascular system, boosting nitric oxide production, and lowering inflammation that damages blood vessels. The regimens studied most often are moderate in intensity: cycling three times per week for 45 to 60 minutes, brisk walking five times per week for 30 to 45 minutes, or any equivalent cardio that gets your heart rate up consistently.

You don’t need to train like an athlete. The key is consistency over weeks and months. Exercise also lowers cortisol, improves sleep, and reduces body fat, all of which independently support erectile function. If you’re currently sedentary, even starting with 20-minute walks and building up makes a measurable difference.

Strengthen Your Pelvic Floor

The muscles at the base of your pelvis play a direct role in trapping blood inside the penis during an erection. Weak pelvic floor muscles can cause erections that fade quickly, especially during position changes. Kegel exercises, often associated with women’s health, are well studied in men for exactly this purpose.

The technique: squeeze the muscles you’d use to stop urinating midstream, hold for 5 seconds, then fully relax for 5 seconds. Repeat 10 times, and do this at least three times per day. Over several weeks, gradually increase the hold and rest times to 10 seconds each. Most men notice improvements within 4 to 6 weeks of daily practice. You can do these while sitting at your desk, driving, or lying in bed, so there’s no barrier to consistency.

Eat for Blood Vessel Health

Erection quality is largely a blood vessel story, so eating in a way that keeps arteries flexible and clear has a direct payoff. A Mediterranean-style diet is the most studied pattern for this. Men who follow it consistently have better erectile performance, improved blood flow, higher testosterone levels, and healthier arteries compared to those who don’t.

You don’t need to overhaul your kitchen overnight. A few high-impact swaps go a long way:

  • Add nuts daily. Almonds, walnuts, and pistachios are rich in healthy fats and fiber that support vascular function.
  • Switch your cooking oil. Olive oil or avocado oil in place of butter or vegetable shortening.
  • Eat fatty fish two to three times a week. Salmon, sardines, or mackerel provide omega-3s that reduce arterial stiffness.
  • Increase vegetables to at least two servings a day. Leafy greens like spinach and arugula are particularly rich in natural nitrates, which your body converts to nitric oxide.

Manage Performance Anxiety

If you can get hard on your own but struggle with a partner, the issue is almost certainly psychological. Performance anxiety creates a vicious cycle: you worry about losing your erection, the worry triggers a stress response that constricts blood vessels, and the resulting softer erection confirms the fear. Your body is working against itself.

Breaking this cycle starts with a few practical strategies. Talking openly with your partner takes enormous pressure off. When your partner understands what’s happening, they stop assuming it’s about attraction, and you stop carrying the secret. Expanding your definition of sex also helps. If your anxiety centers on penetration, focusing on other ways to give and receive pleasure (hands, mouth, toys) removes the single point of failure that feeds the worry.

For deeper patterns, especially those linked to past trauma, relationship conflict, or long-standing self-esteem issues, working with a sex therapist gives you structured tools that general advice can’t replace. Some men also find that simply having a prescription for medication on hand, even without using it, provides enough of a safety net to relax and let their natural response take over.

Supplements That Have Some Evidence

L-citrulline is the most credible over-the-counter option for supporting erections. Your body converts it into L-arginine, which then becomes nitric oxide, the same molecule that triggers the entire erection process. The studied dose for circulatory and erectile benefits is 2,000 mg taken three times daily with meals, totaling 6,000 mg per day. It’s not as powerful as prescription medication, but some men notice a meaningful improvement, particularly when the issue is mild.

Most other supplements marketed for erections (horny goat weed, tribulus, maca) have weak or inconsistent evidence. Some “natural” products sold online have been found to contain unlisted pharmaceutical ingredients, which makes them both unpredictable and potentially dangerous.

When Medication Makes Sense

Prescription medications work by blocking the enzyme that breaks down the molecule (cGMP) responsible for keeping penile blood vessels relaxed. They don’t create arousal on their own. You still need stimulation for them to work. The three main options differ mostly in timing:

  • Sildenafil (Viagra). Works in about 30 to 60 minutes, lasts roughly 4 hours. Best taken on an empty stomach.
  • Vardenafil (Levitra). Similar onset of about 60 minutes, lasts 4 to 5 hours.
  • Tadalafil (Cialis). Can be taken hours in advance and lasts up to 17 hours or more, which removes the pressure of timing sex around a pill.

These are effective for most men regardless of the underlying cause, whether it’s poor blood flow, mild nerve issues, or psychological factors. They’re available through a standard prescription, and generic versions have made them significantly cheaper than they were a decade ago.

Erection Problems Can Signal Heart Risk

The arteries supplying the penis are smaller than the ones feeding the heart, so they tend to show the effects of atherosclerosis (plaque buildup) earlier. Erectile dysfunction typically appears 3 to 5 years before a heart attack or stroke in men with underlying cardiovascular disease. This doesn’t mean erection trouble guarantees heart problems, but it’s a signal worth taking seriously, especially if you also have high blood pressure, high cholesterol, or a family history of heart disease.

Treating the erection issue and the cardiovascular risk together, through exercise, diet, weight management, and medical follow-up, addresses the root cause rather than just the symptom. Many men find that as their cardiovascular health improves, their erections improve in parallel without any other intervention.

Other Factors Worth Checking

Sleep quality matters more than most men realize. Erections during deep sleep (typically three to five per night) are part of how the body maintains penile tissue health. Chronic sleep deprivation or untreated sleep apnea can suppress both testosterone and overnight erections, leading to weaker performance when you’re awake.

Alcohol is a common culprit. A drink or two may reduce anxiety, but beyond that, alcohol suppresses the nervous system signals needed for erection and delays arousal. Smoking directly damages the lining of blood vessels and reduces nitric oxide availability, making it one of the most straightforward things to quit for better erections. Excess body fat, particularly around the abdomen, increases estrogen relative to testosterone and promotes inflammation in blood vessel walls.

Certain medications can also cause or worsen the problem. Antidepressants (especially SSRIs), blood pressure drugs, and some antihistamines are common offenders. If erection difficulties started around the same time as a new prescription, that connection is worth discussing with whoever prescribed it.