Try the "^" on the right side of the taskbar. From there, right click on OneDrive and disable sync/log out. From there, go to the search bar (middle of the taskbar) and type in "installed applications" you should be able to uninstall OneDrive. This fix should work for the average consumer.
MS will try to force-install OneDrive pretty often, when you update windows
Advanced:
If you get a new PC or are using MS for business computers and don't ever want to deal with OneDrive (Common gripe for programmers/designers), you'd have to "local install" windows offline through commands + add commands/scripts to block OneDrive from installing (if MS tries to auto-install later with an update). Any google can walk you through that- it's not hard but takes time. This ensures OneDrive never gets installed, and can never rewrite file pathing (preventing long path errors).
Hope this helps