Satan got me again, and masterbated during Ramadan. It was at night, after ifthar. Does the fast still count ? If not, doIi need to do it again? If yes, when ? How do I repent for this act ?
Praise be to Allah, the Lord of the Worlds; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
Masturbation is Haram in Ramadan or any other time, but it is worse in Ramadan. Then, it spoils one's fasting in Ramadan and necessitates making up the day, but not if it happens at night. However, such a misdeed requires repentance and true resolution that one will not repeat it. One also has to avoid the causes of this misdeed, such as looking at women, pictures or listening to what arouses lusts. One also has to avoid bad company and to become engaged in good for this life and the hereafter. One has to think of the bad consequences of this deed and Allah's punishment. Then, one should pray to Allah to keep him safe in body and religion and to grant one success of doing righteous deeds and repentance.
Allah knows best.
You can search for fatwa through many choices