After you file

So if the irs doesnt know my account info changed and I never received my card how will they know to send me a check instead? Do i need to get a hold of them. How will I get my state refund if it was suppose to be via prepaid visa card.