An anatomy and detailed scan for anomalies is ideally conducted at 20 weeks. If you have a high risk of an abnormality it can be performed earlier to exclude some abnormalities.