Can anyone help me out

I've noticed in the past couple of days around 12am.at night when my kids are asleep and I'm alone. I feel like I think about stuff and feel stressed out.. that my chest tightens up and it hurts like someone is sitting on my chest and I can't sleep but im fine during the day.. than I start to panic like am I going to die.. its not a good feeling.

Has anyone experience this or what's going on.. im fine during the day.

I use to drink coffee everyday for past 5months and have completely stopped today marks 2 days of it. Could it be from coffee? Im so confused will get a appointment just wondering..