Preheat the oven to 375°F (190°C).
Cook the pasta according to package instructions until al dente.
In a mixing bowl, combine ricotta, egg, oregano, salt, and pepper.
Drain the pasta and return it to the pot.
Stir in marinara sauce and half of the mozzarella cheese.
Layer half of the pasta mixture in a baking dish.
Spread the ricotta mixture over the pasta.
Add the remaining pasta mixture on top.
Sprinkle the remaining mozzarella and Parmesan cheese evenly.
Bake for 25-30 minutes until the top is golden and bubbly.