What does a pain on the right side of the stomach mean?

Lots of things. If you mean right side of abdominal cavity then gallbladder diseae, ulcer, pancreatitis, kidney stones are all possible. Whether it occurs after eating, what types of food affect it, other symptoms, all are important in determining the cause.