Melt the duck fat in a shallow , non-stick pan ( I choose a cast-iron one so well used it barely needs oiling ) , add the potato and pumpkin slices , neatly or hugger-mugger , seasoning them with salt , black pepper , thyme or rosemary leaves and a little chopped garlic as you go .