<human>: Can you condense the text into three sentences or less?

So I've had significant performance issues with both erectile disfunction and premature ejaculation my whole life, and I'm not sure how I should handle this with dating.  I was in a long term relationship for a very long time so it wasn't a hurdle I had to worry about, but now that I'm considering dating again, I'm not totally sure how to go about it.  Is it something I should bring up before sex comes up?  If so any idea how long I should wait to bring it up (I imagine that would be pretty ackward to bring up on the first date, but I feel like I should inform them after at least a certain amount, to keep somebody from wasting their time if it's a deal breaker).
<bot>: Should I broach the subject of being bad in bed earlier on in dating?  And if so when and how?