How can I remove unused code after uninstalling apps?

Thank you for your response. I am not a programmer to know how to do them. Can u pls help?