how long do you have to wait to get dentures after teeth are pulled

how long do you have to wait to get dentures after teeth are pulled