It's tripping as the machine is going live and to stop you being electrocuted to death is causing the RCD to kill the power. I'd find a shop who can look at it for you unless you have a insulation tester and experience of electrical circuits. Also it needs to be electrically tested afterwards to make sure it is safe to use. If you try and repair it and it kills you, you won't have a leg to stand on. 😂