1. Run a duplicate finder
Use the duplicate finder in your photo app or a reputable tool. Review the groups it finds, because similar shots can look like duplicates but differ.
2. Keep the best version
Keep the highest resolution copy and the one with the best edits or metadata. Check that important albums still contain the photos you want.
3. Back up before deleting
Make a backup of the library before removing anything. Empty the trash only after you have checked the remaining photos.