Quit smoking

Kyrsta
Hello, I'm 4w5d and stopped smoking when I found out, since then I have had constant diarrhea. I've been taking Imodium but I haven't seen any relief. I haven't had morning sickness and this is my first pregnancy this long, I had a miscarriage but it ended so early (8 weeks but they told me it actually happened before hand) I'm so sure if the two are related but I know I've always been a once a day kinda routine. Any advice?