Purana Jyotisha Sangraha · by Vyasa
Chapter 12 · Prabhasa and the Planet Lingas
स्कन्दपुराणम् : प्रभासक्षेत्रे ग्रहलिङ्गानि
सप्तमोऽहं महादेव आत्रेय इति विश्रुतः ।प्राचेतसेन दक्षेण शप्तस्त्वां शरणं गतः ।रक्ष मां देवदेवेश क्षयिणं पापरोगिणम् ॥ ४७ ॥
From the Skanda Purana, print Prabhasa Khanda (Prabhasa-kshetra-mahatmya) ch 22, verse 47.
'I am the seventh, O Mahadeva, known as Atreya. Cursed by Daksha, son of Prachetas, I have come to you for shelter. Protect me, God of gods, wasting away and ill because of sin.'
Simple meaning: The Moon, cursed and wasting away, asks Shiva to protect him.
Classical view, not medical advice.
इति संस्तुवतस्तस्य चंद्रस्य करुणाकरः ।
Shiva, pleased by the praise, speaks to the Moon.
परितुष्टोऽस्मि ते चंद्र वरं वरय सुव्रत ।
Shiva again asks the Moon to choose a boon.
मम नामानि गुह्यानि मम प्रियतराणि च ।
Shiva promises to grant the wishes of people who recite his names.