The best way to cook fresh ravioli is by boiling them. You can bake them as an alternative method. Add alfredo sauce to the bottom of a baking dish first, then layer on the ravioli. Top with more sauce and bake for about 40 minutes. For more info on baking, ravioli check out this easy baked ravioli recipe.