Wake up confused not knowing who you are heart racing?

This happens to me sometimes than it goes away or it lingers sometimes have anyone else experienced this?