If you've discovered that your potatoes are undercooked and you need to fix them, there are a few methods you can try to salvage the situation:
Return to Heat: The simplest method is to return the undercooked potatoes to the heat source and continue cooking them until they reach the desired level of doneness. This can be done by boiling, steaming, or baking, depending on the cooking method you initially used. Keep in mind that if you are boiling or steaming the potatoes, it may take some additional time to cook them fully.
Microwave: If you have a microwave, you can transfer the undercooked potatoes to a microwave-safe dish, cover them with a damp paper towel or microwave-safe lid, and microwave them in short intervals (e.g., 1-2 minutes) until they are fully cooked. Check for doneness after each interval to avoid overcooking.
Chop and Pan Fry: If the undercooked potatoes are large and difficult to cook through, you can chop them into smaller, bite-sized pieces and pan fry them in a skillet. Heat some oil or butter in a pan over medium heat, add the chopped potatoes, and cook until they are crispy and cooked through. This method works well if you're looking for a crispy texture.
Finish in the Oven: If you were initially baking the potatoes and they turned out undercooked, you can return them to the oven for further cooking. Preheat the oven to the desired temperature, place the undercooked potatoes on a baking sheet, and bake them until they are tender. Check them periodically for doneness by inserting a fork or knife into the potatoes.
Remember that cooking times can vary depending on the size and type of potatoes, so keep a close eye on them and test for doneness by piercing them with a fork or knife. Once they are fully cooked, you can proceed with your intended recipe or serve them as desired.