The most important thing during illness is to offer to God patience and thanksgiving for His merciful visitations. Sickness purifies sins and gives one time to meditate on the past.
Not he is chaste in whom shameful thoughts stop in time of struggle, work and endeavor, but he who by the trueness of his heart makes chaste the vision of his mind not letting it stretch out towards unseemly thoughts.