Only a doctor can diagnose this. It could be minor, such as indigestion or a pulled muscle. But pain radiating down the arms can also signify something more serious.
Sometimes stomach pain, especially when it radiates into the arms, neck, and jaw, can be a symptom of heart attack. Don't waste time wondering. See your doctor immediately.