What happens if I filed and I owe state taxes?

I got a federal tax refund but I owe state so will it automatically be deducted from my account?