Stool softeners during pregnancy

Victoria

I’m a first time mom and I have been having trouble going #2. I’ve been drinking nothing but water and eating healthy with plenty of foods that are good with fiber but I still can’t go. Would it be okay for me to take 1 stool softener a day or just every once in a while?