I didn't receive my first and second stimulus check so I amended my tax return and it was accepted by the IRS so when would I know if the irs will send me either check

My tax return was garnish by the IRS even my first and second stimulus can I still get the first and second stimulus check if I amend my tax return