Please help I’m 17 and i don’t know what’s happening to me

Last night i experienced very sharp pains that would come and go above my bellybutton and below it. It got to the point where i seriously could not stand it and i my mom gave me an 800 ibuprofen. I didn’t have much sleep i kept tumbling and twisting and i started to shake because i felt so cold even though my mom said it was hot. Today i woke up without stomach pain but now i felt completely drained. It’s currently 5:00pm and i have not left my room I’ve been resting completely fatigued. I haven’t eaten anything because i feel grossed out. I have an active sex like with a boy I’ve been with for 2 years and we always use protection and make sure the condom isn’t ripped. I’ve also always struggled with stomach problems and i just don’t know what’s going on please help me understand what it is