Still paid taxes due despite amendment saying I had a refund. Will I get my money back?

Like the title says, I made a mistake with my original submission. It said I owed money, but after fixing it I'm now getting a refund. Will they give me the they took back? Do I have to contact someone? Thank you in advance for your help!