Bleeding at 8 weeks pregnant

I have a really bad cough last week, and last night I have this discharge this is a Miscarriage?