miscarriage ?

Could u be pregnant for only a month to have a miscarriage ? ..