Rash in armpit and groin

I had a spot on my groin which was burning and didn’t know what it was, went doctors and was given an antibiotic cream but now I’ve got dry itchy skin in my armpit similar to my groin, what could it be??