Ultra-Sound?

So I'm 15, and I just went to the gynecologist cause I was having some period irregularity and the nurse practitioner said I need to have an ultrasound. It's the internal kind with the little probe thing. And I'm worried about it. Is it painful? How does it work? If anyone has any experience with this please let me know. Thanks :)