How long does it take to get really hard without porn?

I've been struggling with relapses recently. I was only able to make it a few days before, but doing better now. How long does it usually take before that happens?