Gastric disturbance

Has anyone had diahrea in their first trimester?? I am about 4 weeks along and have had diahrea for the last 3 days. I read somewhere that it's quite common and that the body is just getting rid of waste preparing for the baby but it's quite frustrating especially at work. Any advice on how to slow it down or stop it completely? Thanks in advance