Hello! A lump that is hard and painful could have a lot of differentials. Without examining or looking at photos it is difficult to comment. If it is in skin it could be an abscess.
It could be originating from bone ...cannot be sure with the complaints that you have given.
Better to first visit a dermatologist.
Answered2017-08-03 14:10:18
Let others know if this answer was helpful