abdomen pain

I have this horrible pain in my upper abdomen and the pain goes to the middle of my back. Idk what it is but it keeps me up from sleeping.