Hello Melinda and welcome to the QuickBooks Community!
Thanks for reaching out for support on this. Sometimes accidents happen and transactions get recorded inaccurately. How to correct this depends on how you recorded these expenses, but I'm happy to go over a few different options.
If you added these expenses through the Banking or Transactions menu, you'll want to navigate back there and to the Categorized tab. From there you should be able to locate the transactions you added and use the Undo option in the Action column to send the transactions back to the For review tab. Now you'll be able to categorize them to the accurate account.
If you used the + New button or the New transaction button from the Expenses menu to add these expenses, you can simply navigate back to the Expenses menu and search for the transactions in question. There isn't a way to batch edit so you'll have to hit View/Edit in the Action column to make changes to the Category or Account. You also have the option to use the arrow in the Action column to Delete the transactions in question in order to recreate them.
Once you get in the groove with making the appropriate edits, I know you'll have this task accomplished quickly. Let me know if there's more I can do to assist you.