You inherit your unique genetic profile at conception. A child no matter how old he or she is can be DNA tested at any time. If required you can undergo prenatal (hyperlink to Prenatal DNA testing) DNA testing between the 11th and 18th weeks of pregnancy, however this must be carried out under the supervision of an obstetrician.