3D or 4D ultrasound

when is the best time frame to get a 3D or 4D ultrasound done?