Can get hard but get soft towards the end

Hello gents - an issue I’ve been dealing with is I’m able to stay hard (I take viagra as well) but when I’m climaxing and about to cum I get really soft. My wife thinks I’m putting too much pressure on myself. Has anyone tried experienced this and if so any suggestions?