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 61.
'I was cursed by Daksha for a certain reason. Yakshma, the wasting illness, has brought me to decay. So you should save me.'
Simple meaning: The Moon says Daksha's curse and a wasting illness have worn him down, and asks Shiva to save him.
Classical view, not medical advice.
अधुना भोः समं पश्य सर्वास्ता दक्षकन्यकाः ।
Shiva tells the Moon to treat all his wives alike; he will wane and grow by fortnights.
पूर्वोचितां प्रभां सोम प्राप्स्यसे मत्प्रसादतः ।
Shiva says the Moon will get back his old light by his grace.
ततो गच्छेन्महादेवि अंगारेश्वरमुत्तमम् ।
Next one should go to Angareshvara, the linga set up by Mars.