The mantra given below is one which is said to eradicate malefic influences of planets. This mantra has to be recited 10,000 times to acquire Siddhi [mastery].Thereafter it can be recited 108 times whenever one feels that his stars are in an adverse alignment.
Namo bhaskaraya l
Sarvagrahana peedanashan kuru kuru swaha ll
नमो भास्कराय l
सर्वाग्रहाणां पीडानाशनं कुरु कुरु स्वाहा ll