Miscarriage… but pregnant again.

So on Mother’s Day, I unfortunately was told I was miscarrying. I had only known I was pregnant for a few days. My period didn’t come this month, so curious, I took a test and am pregnant again! I’m both excited but nervous… has anyone had this happen? How did you handle it? How did you calculate your due date?