What should i do if i over paid the irs thinking i was paying off my state return on the irs website?

i signed up for a payment plan when filing taxes and paid my federal off completely. i was not aware the payment plan with irs.gov would not automatically go towards my state return and am now getting letters from the Virginia Dept of Taxation. How do i get my money refunded from the irs?