Should you take stool softener while straining?

If you have to strain on your stool then a stool softener would probably help.