PE and ED are both closely related to your libido. To increase your libido the best way should be exercise. Yoga can do wonders in this area. You can combine yoga with weight involving gym exercises.
Medicines play a lesser role in this area. Exercises will check all criteria for solving problems with your issue. Relieving stress, checking hormonal imbalances, if your obese (ED and PE are very common in obesity), the best natural treatment, strengthens you, gives endurance and all other issues relating to it.
Herbal medicines have a good effect on nervous strengthening and thereby influencing libido.
You should consult a doctor to move further. The happy news your issue is 100% curable. Thank you.