Im having short term memory lost

Gracy

I don't realize what I'm saying and don't recognize my basic actions (like i could buy a drink and realize after i buy it I didn't buy the flavor I wanted). What is happening to my brain?