I stop my brain from telling me it's bored. I do a little self talk along the way. I tell myself how much I love love love working with fabric, the fabric is just stunningly beautiful, the pattern is just perfect for the quilt, oh! I'm going to rip so that I can make it just the way I want it, etc.... But I stop when I'm tired, hungry, whatever so my body doesn't start complaining.
I learned this technique when reading about how to handle eating a piece of chocolate cheesecake when you are on a diet. I used to gobble it down and then feel terrible and guilty about what a pig I am and how I have no self power to stay on a diet. Instead, now, when I'm pigging down the cheesecake, I tell myself how delicious it is, how wonderful it tastes, how much I'm enjoying eating it, how each bite is so satisfying, etc. It took me a few times of practice, but then it started to click in. Choosing to eat cheesecake no longer makes me upset with myself, I don't feel guilty, and I enjoy every bite. The unexpected outcome of this change of mindset is that somehow it helps me to stay on a diet. Go figure.