needing help

Just bought a 97 400 fourtrac battery new but goes dead after couple days of sitting can kick start it and battery will charge back up . Last night started it ran few minutes then died and won’t start just turns over even with full charge so I checked the 2 fuses by the battery and the back fuse somebody had put tin foil around it and the plastic cover melted . Question is what does fuse go to ? What should I check first ?