Took a laxative at 27 weeks should I be worried???

I’ve never heard that this was dangerous I only took one last night & my mom is saying its super dangerous???