Preheat oven to 500 degrees F. The hotter you can get the oven the better so feel free to start preheating early.
Ricotta Mixture
In a large bowl combine ricotta, grated parmesan, salt, black pepper, red pepper flakes, dried oregano, and fresh basil.
Calzone Assembly
Flour a work surface. Separate the pizza dough into two 8 oz pieces and and roll each piece into 12 inch circles.
Top half of each circle with the ricotta mixture, shredded mozzarella, pepperoni, and mushrooms (or whatever toppings you're using)
Fold over the half of dough without filling and crimp the edges shut.
Transfer calzones to a baking sheet. Brush the top of the calzones with a generous coating of egg wash. Snip a couple holes in the top of each calzone in order to let steam escape while baking.
Bake at 500 degrees F for 15 minutes or until golden. Allow to cool for about 10 minutes then serve with marinara sauce.