Yea looks like heater burn to me, my catfish used to always knock it off the glass then burn themselves laying under it. Buy a heater guard, I wouldn't have a heater without 1 now.
As for treatment just keep the water clean and add aquarium salt to speed up healing