In the UK (where I'm from) you won't get a diagnosis for depression unless symptoms persist for longer than 6 months. So I'd definitely wait it out. It's been 8 months nearly since I last took 'mdma' (could have have been impure as shit) and I feel pretty much baseline normal as I was before, alas the odd bout of depression and anxiety which is far less pronounced than it was when I was 4 months in, I was still having panic attacks occasionally at 4 months. If I think back to the first few months, I've recovered massively, so don't give up what you're doing already.
I've searched the internet high and low for recovery stories and the range of time it takes to recover varies tremendously from person to person. Individual factors play a role as well how much they abused the drug in the first place.
Stay safe my friend.