I find the best way to ensure meatballs are cooked all the way through, is to bake them. Technically, you can use a skillet to cook them, but it will be harder to cook them all evenly.