After you file

I paid my tax 2021 using turbo tax account but it was not deducted from my account on the scheduled date. I need to confirm with the state tax department for payment. State tax department told me I have to pay my tax as they do not have anything in their system about my payment initiation. I paid my tax again with a penalty. after a week of my payment, my initial tax payment as deducted from my account. I paid my tax twice now. How can I get refund of my excess tax payment? Please advice.