How to know fetal position?

Dee

How does everyone know baby’s position? Doctor’s physical exam? Ultrasound? I’m 31+2 weeks and i have no idea if she’s head down, transverse or breech.