Ectopic pregnancies are commonly detected during the early stages of pregnancy, with healthcare providers often diagnosing them within the first trimester of pregnancy through blood tests and ultrasounds.