birth control

i need help!! I’m only 16 & i said i wasn’t sexually active but now i am, i think my doctor said if i needed birth control i would need an ultrasound but she whispered “ to see if they aren’t pregnant “ or “ to see if i’m not a virgin “ i don’t remember what she said because she was whispering but i’m nervous 😖 i wonder which one she meant because i know an ultrasound won’t show if you’re a virgin