Extraction is never the first choice: the dentist always tries to keep the tooth first. It becomes necessary when the tooth is too damaged to be rebuilt, when a root is fractured, when an infection cannot be treated otherwise, or when the tooth is so loose that the gum and bone no longer support it.
It may also be decided for orthodontic reasons, when there is not enough room to align the teeth, or to prepare for a prosthesis. The procedure is carried out under local anaesthetic: you feel no pain, only pressure as the tooth is loosened.
A simple extraction typically takes from a few minutes to half an hour. If the tooth is fractured or deeply anchored, a minor surgical procedure may be needed, and you are told in advance.