It's not necessary to cover a meatloaf while it's cooking, however if you want to loosely add a piece of foil over the top of it, it will help retain some moisture. Remove the foil when you add the marinara and let it continue to cook uncovered for the last 10-15 minutes.