Cramps and spotting

Elizabeth
Tested positive and based on the app, am 5 weeks. I've been battling bronchitis the last few days and dealing with violent coughing fits. (TMI: so much so that at times, I even pee a little when I cough!)
Today I had slight spotting. Nothing in my panties but on the paper when I wiped. I've also had slight cramping today seems slightly stronger than the last couple days. 
Is there anyway that violent coughing can cause miscarriage or other trauma to baby???