After you file

Yes you might still get the refund.  But it will be wrong.  If your efile was Accepted you will need to amend it to be for your real 2019 info.  Were you trying to file 2018 or 2019?  Do you still need to file the 2018 W2?