Om Swami
What should I do when my mind wanders while I meditate?
Remember why you sat down
When the mind does not settle, remind yourself that you sat to meditate and pull the mind back. If you do not let a thought turn into action, it cannot give you sorrow or shake you from your position.
If it does not settle then, remind yourself: I was to meditate. My mind has wandered here. But I sat down here to meditate.