Purana Jyotisha Sangraha · by Vyasa
Chapter 8 · Dreams and Eclipse Rules
ब्रह्मवैवर्तपुराणम् : शुभाशुभस्वप्नाः ग्रहणनियमाश्च
शतलक्षञ्च जप्त्वा च जीवन्मुक्तो भवेन्नरः ।शुद्धो नारायणक्षेत्रे सर्वसिद्धिं लभेन्नरः ॥ ४९ ॥
From the Brahmavaivarta Purana, print Krishna-janma Khanda ch 82, verse 49.
One who repeats a hundred lakh times becomes freed in life. Pure in the field of Narayana, he gets every success.
Simple meaning: Repeating the names ten million times is said to bring freedom and every success.
Classical view, not medical advice.
ओं नमः शिवं दुर्गां गणपतिं कार्तिकेयं दिनेश्वरम् ।
The text gives a list of holy names of gods and goddesses.
नामान्येतानि भद्राणि जले स्नात्वा च यो जपेत् ।
Repeating these names after a bath is said to bring one's wish and turn a bad dream good.
ओं क्रीं श्रीं क्लीं पूर्वं दुर्गतिनाशिन्यै महामायायै स्वाहा ।
A seventeen-syllable chant to Durga is said to turn a bad dream happy.