I use Pepcid in the pills for my cats. He swallowed a stick one time and cut his throat up so he was barfing for about a week and the vet had me give him regular OTC Pepcid pills to calm his tummy down. It was 1/4 of a 10mg pill per 10lb of body weight.
So yep some OTC meds are okay