The production of testosterone and other hormones naturally decreases with age, and this can disrupt erections. Also, in rare instances, kidney failure and liver disease may throw off the balance of hormones necessary for proper erection and intercourse. In most cases, testosterone replacement therapy can bring levels of the hormone back to normal.