First thing to do is look for anything obvious. Like a broken or loose wire. If that all looks good check your charging circuit. Either use a meter by checking the battery voltage with the motor off then again with it running. You should see an increase in voltage. Or if your depth finder is connected to the starting battery and can display voltages, use that to check the same way.