Spotting

Ashley
According to this app, my period is due in 9 days. According to another app I have it's due in 7 days. I just went to the bathroom and noticed some light pink blood on the tissue when I wiped.
Here's a little background information.  I had a miscarriage in January and we have been ttc ever since but my boyfriend works away for 28 days at a time. He left about 24 days ago but got home last saturday night and Sunday. According to this app, I was ovulating then. And now I'm spotting. Can anyone help me?