Imbalance and swaying can be due to multiple causes. It can be related to the brain or the spine or balance system which is in our ears.
B12 deficiency can be most obvious cause for this but if that is normal it will need further detailed examination in a clinic.
Next Steps
Needs detailed consultation