In a cast iron skillet, over medium-high heat, cook the bacon until brown, then remove the bacon and pour off all but a tablespoon of bacon fat. Place the pan back over the heat, add onion and cook until soft (about 2 minutes), then add peas and cook for another 4 minutes. Remove from heat, season to taste with salt and pepper, and set aside.