It's temporary, do not worry. Ours penile erection depends on how much ours brain sends intense and full sexual signals to lower sexual organs - penis. Whenever you fully indulge in sexual imaginations and pleasure, yours brain sends intense and positive signals to lower sexual organs. This causes increase in blood flow to penile vessels and penis got erected to almost double/more than resting state.
Next Steps
If you spend more time in foreplay from 20 minutes to 30 minutes or more, than it will be easier to get erection.
Health Tips
Happy to help online. Take care!!!