To create and maintain an erection and have good sex, your brain and your body must work together. Monitoring your erections during sleep can help determine whether the cause of your erectile dysfunction (ED) is mostly physical.Not so long ago, when men had problems in the bedroom, most docs thought the problem was psychological. Now we know that as much as 80% of the time, a physical problem is a cause. Usually, it’s your cardiovascular system. But that doesn’t mean that your brain isn’t involved. Depression and anxiety can interfere with the proper signals going from your brain to your woody. That’s where monitoring your erections during sleep comes in. If you have an erection during the night, or wake up with one, then you are clearly physically able to have one. That’s a good thing. It doesn’t mean that your ED is all in your head though. You may still have a physical reason for your ED. But if you suddenly start having ED symptoms, yet still have morning erections, there’s a good chance that something emotional is getting in the way of good sex. It’s even more likely to be psychosomatic if you can masturbate, but still have ED problems with your partner. If psychology is getting between you and good sex, there are solutions. And they work. The first step is to find a good doc and talk to him.