If there are leftovers, I would place it in foil and warm it up in an air fryer or the oven for a few minutes until the cheese gets melty again. If you want a quick fix, a minute or two in the microwave will also work, but it will probably make your pastry a little soggy.