After you file

The credit is applied directly against federal tax liability which in turn gives you a larger refund  ... the fact that you had a refund before the credit is applied  has nothing to do with it.