You can break up the long sessions with small breaks to rest the fingers…if something starts to hurt: Stop & take a rest.
Pay attention to how much pressure you’re using…use no more than is necessary.
Mix this practice up with something that uses a different skill or puts demands on a different body part. Maybe practice chords for ten minutes and then practice a roll for ten…etc.