Right-click on the icon and choose Move to Trash. Go to Finder > Applications > WD Discovery. Click on it to uninstall programs on your Mac. Click on it and hold still till the icon jiggles. If you've downloaded the WD Discovery from the App Store, you can open Launchpad and swipe left and right to find this program. To uninstall apps on your Mac, there are multiple ways to remove your WD Discovery from your Mac. You can check the guides below for a more detailed process.
If so, simply remove the older version before installing the new one. For a quick diagnosis, you can check if there's an older version of WD Discovery on your Mac that's stopping the new one from successfully installing.