The Prophet ﷺ showed us every good way and how to deal with trouble and especially illness. Give charity before seeing the doctor and most illness will go away. This is true even for nonbelievers. If they follow the advice of the Prophet ﷺ they will find a cure and in shā’a Llāh be given hidāyah also.