Hey, I sometimes my brain runs off on its own as well while I'm writing too.
I preferably use a combination of google docs, and grammarly.
Grammarly for spelling, basic grammar, basic phrasing, and basic punctuation checking.
Google Docs for complex phrasing and tense checking.