When can amended returns be filed electronically

2021 return e-filed and accepted.   when can it be amended online?