Should I go the hospital or just get some rest?

so up until now my chest is hurting right about where my heart is, it's not intense pain its small on and off pain It's been going on since after dinner which is 9pm it's now almost 3am the pain is still on and off
Should I go the hospital or just get some rest?
Post Opinion