Feel weird in head

I was sitting at a restaurant a few hours ago, felt fine all day. Then a terrible feeling came across me. I felt weird like I was out of my body, like a detached feeling. I got nauseous and lost my appetite. I’m still feeling weird in my head now. Kind of hard to explain. My blood pressure and blood sugar and in normal range. My heart rate is normal, so is my blood oxygen. I’m running maybe just a lingering panic attack? And lack of sleep? Anyone ever had this ??