In the Haftorah of Parshas Tazria we read about Naaman, the Syrian general had Tzora'as, and Elisha told him to immerse himself in the Yarden river, and he’ll be cured. We don’t find that Elisha told him that this was a punishment for a sin, although Naaman was an enemy of the Yidden and had just won a war against Klal Yisroel. Not always is it K'dai to blame your Yissurim on your sins. Often, it’s the worst thing to do so, and it is a trick of the Yetzer Hara which only gets you depressed.
Psoriasis is a skin disease which sounds exactly like Tzora'as. I knew three famous Tzaddikei HaDor who were the purest and noblest people in Klal Yisroel, and they all had chronic psoriasis. They were the opposite of Baalei Lashon Hara and Baalei Ga'ava. A person once developed an itchy skin problem Davka during Parshas Tazria-Metzora, and he was worried that he did something wrong.
I told him: “Look what good company you have!” (These three biggest Tzaddikim). In Novardok, I was told that the main Teshuva for an ailment, is to have Bitachon that you’ll be cured. Naaman listened to the Navi, and perhaps being: וֹט ֵבל immersing is a sign of a desire for purity, and is enough to cure. Never become a smarty and decide that you or your friend is being punished. This is why Hagar was sent away, since: ָהיֶניֵﬠְבּ הָּתְּרִבְגּ לַקֵתַּו ד זט ךל she jumped to the conclusion that Sara was not really a Tzadekes, since she had no children. And Shim'i ben Gera said that Avshalom’s revolt was thanks to the sins of Dovid.
The Pele Yoetz says that foolish people make these Cheshbonos, and R' Dovid Feinstein Zatzal said: תוֹרָתְּסִנְבּ קֶסֵﬠ יִל ןיֵא nobody really knows. And if you like being critical with Cheshbonos of Hashem’s punishments, make sure that you also see how all the good things in your life are rewards for your goodness.