First thing is to see if the pistons move freely. Assuming that the calipers are off, you can check this by putting a piece of something, wood works, about the same thickness as the disc between the opposing pistons (this stops them flying out) and gently pressing the brake pedal, or if disconnected attach a foot pump or similar air supply to the inlet on the caliper. If the pistons don’t move or you can see that they are rusty, there’s a fair chance that they might need replacing, and or the bores might need honing as well. If in doubt, and to avoid a fair bit of messing about, then a rebuilt caliper could well be a better bet. If the fluid hasn’t been changed for a long time and looks murky, it’s probably absorbed quite a bit of water from the atmosphere which can rust the pistons in even if the outer seals look ok.
Edit, make the piece of wood a bit thicker than the disc !