Mylanta for babies?? 7 week old

Has anyone given mylanta for their LO? My pediatrician suggested it for her heart burn but I’ve never heard of this