Start off with putting your sonar on a battery with nothing else hooked to it.
Then, make sure you route the sonar wires away from the trolling motor wires, and
your main engine wires.
If the wires have to contact each other, then place them at right angles like a cross.
Then go from there with other methods to reduce/eliminate interference.