Peace be upon you. According to Grand Ayatollah Khamenei (may Allah protect him), masturbation is forbidden and carries a significant sin. One must repent immediately by regretting the act, resolving to abandon it, and not returning to it again. The successful solution is marriage, and there is no expiation required. According to Grand Ayatollah Sistani (may Allah protect him), it is one of the most important prohibitions in Islamic law, but there is no expiation for it other than sincere repentance. May you be successful in all good.