When can i expect my refund? Will I receive my tax refund through direct deposit or check?

For my 2017 return, I e-filed everything, but was rejected the first time due to the lack of a 8842 form to claim my son as a dependent. I amended my return online, both state and federal was accepted the same day. IRS.gov says they are still being processed.