Neither CBD nor THC would not help much with erectile dysfunction related to impaired penile blood flow (like Cialis or Viagra do).
However, if performance anxiety is the issue, CBD might help some. In a 2011 study, researchers administered either a placebo or CBD to patients with a significant public-speaking phobia.
Pretreatment with CBD significantly reduced anxiety, cognitive impairment and discomfort in their speech performance. Public speaking phobia and sexual performance anxiety are both forms of performance anxiety, so CBD might help some in that regard. However, I wouldn’t expect much improvement. But, it wouldn’t hurt to try.
I hope this helps!