Amended return and taxes due

I submitted an amended return, but had to pay the taxes from the first, wrongly done, return. Will I get a refund? The amount owed on each return was considerably different. 

thank you.