weeme22,
It could be a localized infection or possibly a cyst (sebaceous or epidermal inclusion). Usually, exostoses (bone spurs) do not hurt. And, of course, it could always be a tumor, though these are pretty rare.
The only way to know for sure what it is, would be to have it evaluated by a physician. Good luck.