I have sharp pains in the upper part of my abdomine. What could that be? Its mostly after I eat

Lots of things. Depends on age, meals, other conditions. Could be esophageal inflammation (usually while eating), ulcers, gallbladder/biliary, pancreatic issues. Could be gas, spasm, colon issues, other stuff. See your doc.