When your writing goes to shit, be a flower. Be a fragrant rose. Or a lily. Or a peony.
Think about it.
A flower always smells wonderful, no matter the state of the world around it. Of course, it loses its fragrance as it ages and dies, but I’m talking about a concept.
Visualize yourself as a flower, something anyone would be happy with, to look at, to encounter, to smell.
Your writing problems are just that, writing problems. They’re not the end of the world. You’ll figure them out.
Be a flower for as long as it takes for you to stop worrying.
Then return to your writing.