"Give yourself helpful distractions."
This might call for some explanation as well. I've found it useful to for example listen to some unobtrusive music while photographing. Especially when you're in noisy place, listening to music can provide you with an auditory cocoon which helps you to concentrate on your photography instead of being distracted by noises.
If you find yourself having problems finding inspiration, one other helpful distraction is to do something else creative, write, draw or what ever else might get your creative juices flowing.