Try working the pistons in and out a couple of times by pressing the lever then pushing back (ideally with the red plastic block thing) on the old pads.
Don’t use anything hard like a screw driver on the pistons themselves, you’ll trash the pistons.
If they aren’t retracting fully after that, you may have to take a drip of fluid out. I’d do that by getting the lever into a position such that the lever bleed screw is facing vertically up, then loosening it off before pushing gently on the pads as before. Then nip the screw up again obviously.
Once you’ve done that you may find you need to advance your pads to get a good lever feel.