pregnant and have period

is it possible to get ur period and be pregnant? had protected sex 7 months ago and not on pill and these past months my period is irregular and sometimes only last a few days and other times it's regular 5 days