Preheat oven to 350°.
Cut bacon into small pieces. Chop onions.
Open cans of beans and pour into the 13 x 9 pan. Add bacon, onions, ketchup, brown sugar and Worcestershire sauce.
Use a spoon to stir all ingredients until well combined.
Cover with tin foil and bake in the oven for 3 hours.
After 2 hours, take the tin foil off and continue to bake for another hour.
If you like runny baked beans, cook them at 325°.