How long are you immune from Covid after you recover?

I have Covid right now and it’s thankfully mild. I’ve been careful this entire pandemic and I have to say I’m kinda relieved now that I have it. I feel like I can relax now. How long does immunity last from natural infection?