Hi, I am Dave, I will help you with this.
When the @ symbol and the " symbol are swapped, that indicated the keyboard language is set incorrectly.
If the @ symbol on your keyboard is above the 2, you have a US English Keyboard
If the " symbol on your keyboard is above the 2, you have a UK English Keyboard
Open the Settings App, then go to Time & language - Language & region
Check in there that the correct keyboard language is set for your physical keyboard.
If that does not resolve the problem, please provide a photo of your physical keyboard.