1. A thirty-second honesty check first
Before reaching for any technique: if you've been drinking heavily tonight, recently started a medication for depression or anxiety, or you're exhausted well beyond tired, the softening may be mostly about that physical state — information about tonight, not a regulation failure.
Classic laboratory work found that clearly intoxicated response is markedly suppressed, and medical consensus lists chronic illness, substance use, and medications for depression and anxiety as risk factors in sexual difficulties. Condom-associated erection problems run on their own worry-distraction loop, too. None of the dials below are designed for those situations — see the safety note for where those belong.
And if none of that applies: the panic itself is worth naming. The dread of 'it's happening again' pulls attention onto yourself and off the moment — a pattern research links to erection difficulties. The goal of the next few minutes is not to force an erection back. It's to lower the alarm so your body has a chance to respond again — or so you can both enjoy what continues without one.