I just had a hot rag on it for awhile and it doesn't hurt could it possibly be for me shaving?
It could be from a number of things, like irritation making a bump appear from swelling, from shaving(ingrown hair), a pimple/clogged pore, infection, cyst, etc. If the bump does not go away on it's own in a week or so, make a doctor's appointment to have it looked at. Hope it goes well.