testing ?? can someone answer this

L
What is it called when you can get a early test from the doctor about the gender? Because on my 12 week appointment I want to do the test . Also is the cost expensive??