I don't think we can give you a medical advise, but as you fapped pretty much (to P I asume?) it's very likely to be P induced. But even if it's not: Rebooting will help you in any case. In my case I'm not sure if my problem is PIED or performance anxiety, but I'm at like day 40-ish and I'm feeling pretty great.
Even if you weren't at the point were PMO gives you ED, this point may come later.