Preheat your oven to 400 degrees F.
Add the ground beef to a large pot and brown completely. This should take about 10 minutes. Once the beef is browned, add the onions and cook for 2 minutes.
Stir in the fresh garlic and red pepper flakes. Cook for 10 seconds and then add the red wine and allow it to cook for 2-3 minutes.
Add the crushed tomatoes, fresh basil, and Italian seasoning. Cook for 15 minutes. Once the 15 minutes are over, season with salt, pepper, and a pinch of sugar.
Pour about 2 cups of the meat sauce evenly across the bottom of a 9x13 baking dish. Place one entire bag of ravioli and then pour more sauce over the raviolis, sprinkle 2 cups of mozzarella cheese and parmesan cheese on top, and then repeat.
Bake uncovered for 15 minutes and broil for 1-2 minutes. Serve immediately and enjoy!