IME, things like this are usually bacterial in nature and are the result of less than adequate cage/water cleaning. I have had good results with tetracycline baths with the frog in a simple easy to clean enclosure.

That being said, it's difficult to tell without a pic. Even then, a vet is likely your best bet.