Yes its called premature ejaculation.
Many factors are responsible for that like tabacco, alcohol, vit d deficiency, stress and many more.
Medicine is just temporary solution. In diabetic cases We can manage it by drug.
But if we remove the root cause factor than it will be cured permanently..
Do consult personally.
Detailed history required...