At 18w will i get my first ultrasound & keep pics ?

Joya
Just wondering 17w know & next appt is when I'm 18w&3d my doc said i will get one but will they tell me the sex then ?? And let me keep the pics