I was reading a book about screenwriting by Oscar winning screenwriters and in that book there’s one bit of content I remember well. American Beauty’s Alan Ball said he put off his writing project by cleaning his fridge. I know the feeling. One would sooner delay instead of dealing with the hard stuff.
Once one gets into the project and distraction becomes energy and activity, the challenge is getting it sounding right. There may be no right and wrong ways, but turning distraction into something which produces writing that’s at least readable are steps in the right direction.