Mylicon

My daughter is a week and a half old and she’s gassy and I think she she’s a poop but she’s having trouble. Is this safe to give her?