Welcome to health care magic forum
As you got chance that to perform under stress
so your expectation was not met ,Your case is of premature ejaculation
.so start doing pelvic floor
& anal squeezing exercises regularly.things will improve.At present there is no need of any medicine.
Wish you good health