Are H2 receptor antagonists safe over the counter drugs?

Are H2 receptor antagonists safe over the counter drugs?