It keeps coming back..

Annie

So long story short I got an ingrown hair, which evolved to a cyst and eventually popped while I was at work lol. But then it slowly went away, well… It’s back and I don’t understand why. I kept it clean, put hot rag on it and all… Do I just have to leave it completely alone and not shave anymore? When I do shave I try to leave that area alone.. but sometimes I can’t. I’ve attached a photo if what it looks like now. The first time around this mf got as big as a quarter and it hurt so bad! This time around it doesn’t quite hurt and its smaller than a penny thank god. But is there anything I can do to avoid it coming back??? Am I doing something completely wrong?