Early period or pregnancy

Has anyone ever had an early period and it turns out they are pregnant?