After you file

You get to keep the first refund.  But when you amend you might have to pay the difference back.  So don't spend it all until you know how much you might need to pay back.