Pregnant after miscarriage

A
I miscarried three months ago it really hurted me and my baby's father maybe a month later we said lets try again and today i took a test and it came out positive