Purana Jyotisha Sangraha · by Vyasa
Chapter 8 · Dreams and Eclipse Rules
ब्रह्मवैवर्तपुराणम् : शुभाशुभस्वप्नाः ग्रहणनियमाश्च
अच्युतं केशवं विष्णुं हरिं सत्यं जनार्दनम् ।हंसं नारायणञ्चैव ह्येतन्नामाष्टकं शुभम् ॥ ४४ ॥
From the Brahmavaivarta Purana, print Krishna-janma Khanda ch 82, verse 44.
Achyuta, Keshava, Vishnu, Hari, Satya, Janardana, Hamsa, Narayana: these eight names are auspicious.
Simple meaning: The text gives eight holy names of Vishnu.
Classical view, not medical advice.
शुचिः पूर्वमुखः प्राज्ञो दशकृत्वश्च यो जपेत् ।
Repeating the eight names ten times, facing east, is said to turn a bad dream good.
विष्णुं नारायणं कृष्णं माधवं मधुसूदनम् ।
The text gives ten holy names of Vishnu.
भक्त्या चेमानि नामानि दश भद्राणि यो जपेत् ।
Repeating the ten holy names a hundred times is said to bring health.