acid reflux

L.
My baby girl is 7 weeks now , she have very bad reflux since 2 weeks old, she can't sleeping on her back at all even we put her to swing.....she also have problems when we feeding her, she can't eat very smooth due reflux always take long time for finish one bottle or she get tired and fell asleep. We already tried rice cereal on her formula and ranitidine, switched to sensitive formula but nothing works. Now we changed to Nizatidine since yesterday, I really hope this one will works and she getting a little better. How long this medication will works? Does any one have successful experience with it ? Any tip for dealing with reflux?