A 50-year-old man with a history of alcohol use disorder presents with confusion, ataxia, and ophthalmoplegia.Which treatment should be given immediately?