We all change with time, but we don't grow with time. Sometimes we take steps backwards; we regress into more immature selves.
This happens because we don't explore ourselves, we believe other people's intelligence. We follow what people guide us through. But we don't listen to our inner intellect. It's always right and always show us the right direction.
It happens. It's Okay. The day is not yet over, and surely you can choose to get yourself back on track.
Once you take some time to be alone and explore who you are----keeping in mind the person you want to be----you will get to know yourself again. You'll come to realize what's most important to you. You'll also learn what's trivial and what you should let go in life for good.
Don't expect this to be easy...but knowing yourself better is great for a new beginning and good for living a better life.
Last but not the least...It's your journey and every moment that you live is your own experiential journey...there's nothing wrong or right. It's your way of life to take forward what's right for you and learn from what you realized was wrong for you.