The best is to do Metta meditation, recollection of past good deeds, recollection of qualities of the Triple Gem, etc. for a while as it calms your mind.
These meditation tend to bring about tranquility and also result in positive Karma. This helps to switch back to Insight Meditation.