I am not sure, but think ED usually refers to the inability to get an erection in the first place. If he has erections that don't stay, he could talk to his doctor and see if one of the ED drugs would help.
I really hope its just stress or something. How fast it started happening makes me worry it me. I've put on like 10lbs. But he says he can't get an erection from masterbation (masturbation) at all.