I have them, I have been to my doctors and they gave me a cream to put on for a week. I think it was a steroid but because it had a strange smell and you had to put it on twice a day was inconvenient because of my busy lifestyle I didn't put it on regularly enough, so therefore I still have them. But I would suggest going to see your doctor and they'll prescribe you with medication or tell you what you should be doing to prevent the spots.
There is no cure for it. However you can try to avoid things you know break you out like soaps and lotions. Try using unscented things. I would also see a doctor about it if you can there are creams out there that can help the rash go away and lessen the chances of getting a rash.
I have bad eczema and I have been to the doctors, they have given me really strong creams but it still hasn't got rid of it even tho I have been using it for so long, I would suggest getting an allergy test, you would get to know what things breaks you out... It really helps :)
I suggest going to see a dermatologist. I had severe eczema but after going to see one I noticed a significant improvement in my skin overall.