I have an upper back pain and I can't sleep at night cuz of it, is this bad, would I need to go to the hospital for it because I've been having this fo?

No. At age 18 it is doubtful that you have something deadly. I would simply make an appointment to see your doctor and get it checked out. I would not spend the time or the money to go to the hospital. There are several possibilities, but in your age group, it is usually something with your muscles.