Sleep. At least according to this: ‘Waves’ of fluid clear the brain of toxins during sleep, say researchers – Big Think.
When you sleep, your brain is designed to wash away toxic chemical buildup in your brain. If that toxic buildup is allowed to stick around (due to lack of sleep), bad things happen to your brain and you.
So clean your brain. Get some sleep. See the article to understand more of this.