Possible panic attack

I just got out of the shower and I felt like I was going to pass out. I felt like I couldn't breathe and everything around me was spinning. I laid down hoping it would go away. I've never had one before. Is it a panic attack??