Deductions & credits

My spouse had an FSA between Jan and Feb in 2020 while I simultaneously had an HSA. My spouse's employment with that company as well as the FSA ended in Feb 2020. I realized later that the FSA made us ineligible for the HSA during Jan and Feb.  Unfortunately, I have already filed my  taxes not taking this into account. The HSA custodian corrected the ineligible contributions made by my employer by removing them from my HSA account and returning them to me. How do I account for this in an amended return?