Help with reference nightmare

How can I remove all references to objects that no longer exists

Manually.

how, let’s put and example, a map references some object that no longer exists, what should I do?