After you file

It should account for the refund ... LOOK at the amended return to be sure.  So it sounds like you got too big a refund and need to send some back.  Since you didn't state which state it is I cannot give you a more detailed answer.