Ibuprofen is HORRIBLE on your stomach, especially if you're taking that much.
Stop taking it and get to a doctor right away.
Welcome to the gastroenterology community! If you truly took 10,000 mg of ibuprofen, you need to go to the ER ASAP. This is about 9 times the maximum dose you should take without the supervision of a doctor and about 3 times the maximum dose you should take even with the supervision of a doctor.