Crazy gas

What have you taken for gas or constipation ? Is there anything over the counter that’s safe ? I heard Tums was good.