How to get rid of scalp folliculitis and cure it permanently?

I have pus-filled pimples on my scalp, and I go bald in the area when my pimples disappear. Why?