First of all often an erection during the night can be caused by needing to go to the toilet...it is virtually impossible to wet your bed with a fully erect penis, hence the erection..body saying "time to get out of bed and have a pee". With the erection problems...try and set the mood...get the massage oils out...etc....different locations....you will notice a difference in hardness in different situations...some will arouse you more than others...get out of the bedroom and into the sand dunes!