Kielbasa can be cooked by grilling, pan-frying, boiling, or baking. The cooking method may vary depending on the recipe you are following, but it is important to ensure that the sausage is cooked thoroughly.