Keep your cool and be polite to everyone involved. How quickly and well the flight staff helps you will depend on how nice and calm you are. If you stay positive, you’ll be able to get on your flight without any more trouble.
Following these steps will help the process go more efficiently and improve the chances of quickly fixing the name mistake