How many times can you catch covid?

I caught covid back in July, tested positive a lot of times bc it wouldn't leave my body for a while. Wellll my brother just tested positive, do I have immunity or could I have caught it again?