Preheat your oven to 375°F.
Boil pasta until al dente.
Drain spaghetti and set aside.
Brown ground beef in skillet.
Add minced garlic to beef.
Cook garlic for one minute.
Pour marinara sauce into skillet.
Add Italian seasoning to mixture.
Season with salt and pepper.
Simmer sauce for five minutes.
Spray baking dish with oil.
Layer half the spaghetti first.
Spread ricotta over pasta layer.
Add remaining spaghetti on top.
Pour meat sauce over everything.
Top with mozzarella cheese generously.
Bake for 25 minutes uncovered.
Let cool five minutes.
Serve hot and enjoy!