Small hard lump on nipple

Tina
I have a small hard lump on the edge of my nipple. It's in my skin I can actually grab it in my fingers. Has smooth edges almost like a tiny pea. My doctor mentioned it to me at my last check up. Said it could be a sebaceous cyst. He mentioned I could do warm compresses to get it to go away. I tried and it didn't do that. Just curious if anyone else has had this and what it needed up being. Or if I should be more worried.