Bit late now, but let the fingers have a rest, check the action of the guitar, put on new strings, check the angle you are holding the guitar to play it, and when you can play without pain, do maybe five minutes one morning, if your fingers hurt check everything again.
If you can't see anything wrong have someone else check it over.
If they don't hurt play five minutes in the evening, next day play for six minutes morning and evening and build up gradually.
I've seen people with scars and even missing tissue - that is permanent grooves - from not allowing their fingers to harden before a long session. It doesn't take very long, and it saves a lot of misery.
One young man's left hand finger tips became so sensitised that any contact hurt him. I think the bones were damaged.