Reflux meds for infant?

So, my daughter started Zantac when she was 1 month old and it seemed to help. Then all the studies came out about it causing cancer and being recalled, so when my daughter had her gastro appt I asked the doc for a different medication and she was prescribed Pepsid and it is not helping AT ALL. If anything her reflux seems worse.

Are there any other medications we could try? What worked best for you and your child?