Welcome to the forum. It sounds like you have loose wires or a poor earth.
Thanks Chris, not going to be easy to rectify. I have taken out all plugs checked for loose wires and refitted to no avail. cant see which wires do what or where the earth point is. Going to have to call someone out to collect car on trailer as steering still locked.