laxatives while breastfeeding

I am struggling to have a BM. I can go but it's extremely painful and I'm afraid of tearing. Can I take ONE otc laxative? Will it harm my LO through the breast milk?