quick question!!

i havent been to the doctor since i was 9 weeks pregnant and that was the first and only ultra sound i got. if i go to the doctor when im 16 weeks will they give me and ultra sound? and possibly be able to tell me the sex? does medicaid pay for it or would i have to come out of pocket? a friend told me to say my baby isnt active and they'll def do an ultra sound, just curious!!!