Might just be a fatty tumor that got irritated. Just keep your eye on it for changes or bleeding. Might want to clip the hair around it to give it more air and a chance to dry up. If it isn't serious your vet can just cauterize it.