Trying to work out due date

Hello

So I had a miscarriage around the late end of June and I’ve just found out today that I’m pregnant again! Fingers tightly crossed!

How can I calculate my due date?

Will they do early scans etc?

Thanks and fingers crossed!