4D scan

i really really want a 4D scan. when would be the best time to get one? also do people get gender scans before their 20week scan??