If this happens, you probably have the heat too high. Simply lower the heat and continue to cook. Cooking it a little lower will prevent you from getting splattered from the oil.