Hello dear, this looks like an allergic reaction
. And after you itched a lot it became infected and started oozing due to development of eczema
. You need to apply a mild steroid
shampoo. Sebowash will be a good option. Also take some antihistamine tablet. Regarding ants getting attracted to your secretion. It is indeed a very good observation. Usually in diabetic pt ant get attracted. So please get your blood sugar checked.