Over-the-counter famotidine is intended only for short-term use. Even prescription famotidine is prescribed for a limited amount of time. Side effects may occur from taking stomach acid reducers over a long period of time. The most important is vitamin B12 deficiency, which can lead to anemia or neurological problems ;)