I believe low T has more to do with libido rather than ED. ED is usually caused by blood circulatory problems, brain related problems, psychological issues etc.
I just read recently, that if there is ED, it is likely that you have some cardiovascular problem or you may get it in near future. I believe related tests should be done to rule out blood circulation problem.
You didn't say if you're overweight!
Belly fat, and testosterone don't go together. Body fat contains aromatase, an enzyme that converts testosterone into estrogens, the female sex hormone in women. Having extra estrogens triggers your body to slow its production of testosterone. And the less testosterone you make, the more belly fat you accumulate and the more estrogens you have.
Researchers have also targeted midriff weight as the strongest predictor of a condition called symptomatic androgen deficiency, or AD. It's marked by low libido, erectile dysfunction, osteoporosis, depressed mood, lethargy, and diminished physical performance. According to the Massachusetts Male Aging Study, the prevalence of AD among American men between the ages of 40 and 79 is nearly 8 percent.
Vigorous resistance exercise triggers a big burst of testosterone. Stick to weightlifting movements that hit multiple muscle groups, limit your rest between sets, and keep cardio to a minimum. This approach stimulates your body's production of growth hormone, which helps you build more muscle faster. Do you get at least 8 hours of sleep? It's very important!
A study found that averaging 5 hours of sleep decreased T. by as much as
15%. Studies show that excess alcohol speeds the conversion of testosterone and other androgens into estrogen. If you want to maximize your T production, fat loss, and muscle gain, then cut down on your drinking.
Bisphenol A, a chemical used in food cans and plastic containers, may lower your testosterone by exposing you to chemicals that mimic estrogen in your body. Steer clear of foods in containers with the recycling numbers 3, 6, or 7.
If you want to lose 20 pounds of fat, build major muscle, and boost your testosterone
You should aim for 1 gram of protein daily per pound of body weight. You'll improve your odds of consuming enough of each essential amino acid by eating different protein foods each day.
Eat 2 grams of carbohydrates per pound of body weight daily. This yields a 2-to-1 carb-to-protein ratio that's optimal for raising testosterone levels.
About 20 to 30 percent of your daily calories should come from fat, not just heart-healthy monounsaturated fats found in olive oil. Saturated fat contains cholesterol, which is a crucial precursor to testosterone production. So make sure that 5 to 10 percent of your daily calories come from saturated fat in foods like red meat and egg yolks.
Stay away from Processed Foods, get enough sleep, start exercising,
Give up the alcohol and soda,