The rubbing causes the skin to produce a layer of protective skin (a callus). Calluses vary in size, and can become painful.
There are a number of treatments for painful calluses. People who have calluses are cautioned against performing “bathroom surgery,” as this can lead to cuts and infection. A foot and ankle surgeon can evaluate the cause of the calluses and recommend the treatment most appropriate for your condition. However, if the underlying cause of the callus is not treated or removed, the callus may return
Information provided by The American College of Foot and Ankle Surgeons