He says, what is the ruling on shaving the beard due to illness if the doctor is trustworthy.
And he told him that for a certain period you need to treat it or something like that, apply ointments or something, yes.
But do not give a general ruling, each person has his own specific ruling, because some say you must shave the beard, and the one who says this is actually a clean-shaven doctor, meaning he has no problem with it, for him the beard is not important.
So he should ask a doctor whom he trusts in his religion, knowledge, and piety.