A Microsoft file hosting and synchronization service.
Hello
Are you referring to OneDrive desktop app, or OneDrive on the web?
Are you using Windows 11, or MacOS, or is this on the phone?
Typically you can go to OneDrive Settings > Accoutns tab > Unlink this PC, then resign in with the correct account.
But if you can answer my questions above, I can answer more specifically.