I could be wrong, but I think my ped said the timing doesn’t matter with a ppi and mylanta. I have to give Justice Mylanta and Zegerid together. I don’t know if you already have the mylanta,but I would suggest giving the actual mylanta and not the generic. The generic has added ingredients and it tastes horrible.