Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
तत्राद्यस्सोमनाथो हि चन्द्रदुःखक्षयंकरः ।क्षयकुष्ठादिरोगाणां नाशकः पूजनान्मुने ॥ ६ ॥
From the Shiva Purana, print Shatarudra Samhita ch 42, verse 6.
The first there is Somanatha, who ends the Moon's trouble. By worship he is said to destroy illnesses like wasting sickness and leprosy, O sage.
Simple meaning: The text says worship at Somanatha ends the Moon's trouble and may heal wasting sickness and leprosy.
Classical view, not medical advice.
शिवावतारस्सोमेशो लिङ्गरूपेण संस्थितः ।
The text says the Moon worshipped Shiva as Someshvara in Saurashtra long ago.
चन्द्रकुण्डं च तत्रैव सर्वपापविनाशकम् ।
The text says bathing at Chandra Kunda frees a person from sin and illness.
सोमेश्वरं महालिङ्गं शिवस्य परमात्मकम् ।
The text says seeing the Someshvara linga frees a person from sin.