Agni Purana (Jyotisha Selections) · by Vyasa
Chapter 1 · Muhurta: Marriage, Home, Farming
ज्योतिःशास्त्रम्
स्वातिसौम्ये च भैषज्यं कुर्यादन्यत्र वर्जयेत् ।पूर्वात्रयं मघा याम्यं पावनं श्रवणत्रयम् ॥ १४ ॥
In the full Agni Purana this is chapter 121, verse 14.
Also in Svati and Mrigashira one should take medicine. Avoid it in other stars. The three Purva stars, Magha, Bharani and the three from Shravana are purifying.
Simple meaning: Take medicine under the listed stars only. Other stars are for the cleansing bath.
भौमादित्यशनेर्वारे स्नातव्यं रोगमुक्तितः ।
Bathe on these days after an illness ends. A written figure follows.
ह्रींपुटं पार्थिवे दिक्षु ह्रीं विदिक्षु लिखेद्वसून् ।
Write the figure in the way given and wear it at the neck.
शत्रवो वशमायान्ति मन्त्रेणानेन निश्चितम् ।
This figure and mantra bring enemies under one's control.