Cardiovascular exercise is the best and only real solution. You need to start exercising more whether it is jogging or low impact swimming. Make sure you get a heart beat monitor and calculate your optimal 80% maximum heart rate for your age. A PDE5 inhibitor like Viagra or Cialis would help in the meantime, but a sudden loss sounds psychological like you worrying about performance or you anticipating loss of erection resulting in you losing your erection. A self deflating prophesy. Be less nervous and imagine your audience naked. Oh wait...