Refund rejected, but I paid the $ due at the time when I submitted. Attempted to refile, but it is asking for the whole payment, even though partially paid. What to do?

when attempting to refile, the amount that I already paid is not being deducted from what it is saying I already owe. I don't want to pay twice. What should I do?