A:
You have to make up
the prayers you offered without having done Ghusl after janabah, due to your carelessness and neglect to learn about your religion. You also have to repent to Allah for that. With regard to Sawm, it is valid as long as no intercourse took place during the day. (Part No. 6; Page No. 198) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.