Put in wrong name for bank

My bank use to go by one name and then they changed. I put in the old name but correct account number and routing number. How do I fix this?