Peel and cut the potatoes into chunks. Boil in salted water until just tender, about 10-15 minutes. Drain and set aside.
In a large skillet or Dutch oven, heat butter or olive oil over medium heat. Brown the sliced Polish sausage for 5-7 minutes. Remove and set aside.
In the same skillet, sauté the chopped onion until soft and translucent. Add minced garlic and cook for another minute.
Add the drained sauerkraut to the skillet, stirring well. If using, sprinkle in caraway seeds.
Return the sausage to the skillet along with the cooked potatoes. Season with salt and pepper, cover, and simmer for 15-20 minutes.
Serve hot, garnished with fresh dill or parsley if desired.