You have to be really disciplined. Use proper BRM and if you hit a really bad run don't hesitate to move down in stakes from what you normally play. This takes some of the pressure off and allows you to play through the downswings easier. Also find something to do outside of poker that really allows you to distress and take your mind off of the bad run.