you have a loose cable somewhere. start with the battery(make sure the clamps are clean - pour a can of coke on them if they are corroded(white stuff) on them) and make sure they are tight. next check the alternator cables.