The brain never sleeps as such millions of thoughts; positive as well as negative keeps popping every single seconds, minutes in a day. It's left with you to choose which one to focus on.
In developing that positive mindset, always ask yourself is this thought true?, is it helpful? and is it kind?