Thanks for your question,
This is a matter of emergency and nothing else. Take him to a doctor as soon as possible. Pain killers on an overdose can damage liver and its functioning. It can also cause bleeding in stomach, at times. This can be fatal also, at times. The pain he is experiencing may be due to the internal bleeding. Get a complete checkup and medical aid.