Read about Pepcid dosages and usage information here:
Zantac can be given to a dog at .25 to 1mg per pound every 8-12 hours. Read about usage here:
The following site goes over apple cider vinegar usage for dogs?
If your dog got into the trash, then the discomfort might be related to the garbage ingestion. you can read more on this here:
You might start the use of a probiotic to help with gastrointestinal problems including acid reflux. You can use yogurt or fortiflora (a common probiotic) available at many pet stores. Feeding smaller meals more often can help with acid reflux as well.
I hope this information is helpful to you. If you would like any additional information or have more questions please don’t hesitate to press the reply to expert or continue conversation button so I can address any issues you still have . If you do find this helpful, please take this opportunity to rate my answer positively so I am compensated for my time.