Period after pregnancy

I had my first period after having my daughter last month at about 2 1/2 months postpartum. My app is saying my period was due two days ago. Is it normal for your periods to be irregular for a while? We’ve had sex but we’ve tried to be careful