Amendment for living abroad

I moved abroad in September 2024 and will return to the USA in September 2025. My understanding is that I can file an amendment to my 2024 tax return to account for the fact that I spent 4 months of the calendar year abroad. What is the procedure for filing such an amendment? Will I have to also file an amendment for the 2025 tax year, or can I already declare that I was away for 8 months when I file? Thanks.