Hi os
If a new battery isn’t charging then what the guys suggest is spot on , check connections and get a meter and make sure you have got voltage with the battery disconnected.
If both these are ok you may have a short to earth which will drain your new battery quick smart. This could be cables that have been pinched or perished over time and cracked.
My fault finding method would be
1 check connections and clean.
2 check voltage input to battery
3 ride bike then pull fuse, leave for a day or so then check voltage
make a note of reading. Then ride again , leave with fuse in recheck reading.
If theirs a big difference you have a wiring fault and need to start tracing and checking wires. If you have access to insulation resistance equipment this can be sped up. If not for a DIYer it’s a slow process of elimination.
Im not an auto electrician , my stuff is all 240v and up, but I hope this helps.
If you get really stuck and need more of an explaination PM me and I’ll give you a call !
Good luck! 