Most men can keep a solid erection, or close to one while pumping, others can not and this could be for a number of reasons. I think fear or anxiety is one reason, the mind being scared of hurting the penis. It could also be because you need external stimulation, like adult entertainment, to keep erect. In some cases men just need to rely on Viagra, or the like, to make this a reality.