transvaginal ultrasound

does a transvaginal ultrasound hurt? this is my first baby and i’m very excited but nervous about this. i’ve never been the the gynecologist so i don’t know what to expect. and how does it work ?