Pregnant and constipated

Is it safe to take 1 exlax pill while pregnant?