Change to indirect speech: The doctor said, "Take this medicine twice a day."
AThe doctor told him take that medicine twice a day.
BThe doctor advised him to take that medicine twice a day. ✓
CThe doctor said to take this medicine twice a day.
DThe doctor ordered him to take this medicine twice a day.
Explanation
Option B (The doctor advised him to take that medicine twice a day.) correctly applies the required reporting structure and tense/pronoun changes.