HSA/Medicare Excise Tax

Turned 65 on 9/25, applied for SSA Benefits and Medicare on 12/25.  Got approved on 1/26 and says my Medicare Part A starts 9/25.  To avoid HSA excise tax, how far back do I need to withdraw excess contributions?  Back to 9/25 (sep-dec 2025) or further back?  Thanks