In a large skillet, heat a bit of olive oil over medium heat.
Add the chopped onion and cook until softened and translucent, about 5 minutes.
Add the ground beef or lamb to the skillet. Cook, breaking up the meat with a spoon, until browned and fully cooked. Drain any excess fat.
Stir in the crumbled feta or ricotta cheese, chopped parsley, black pepper, salt, paprika, and dried oregano. Mix well and remove from heat. Allow to cool slightly.
Preheat your oven to 375°F (190°C).
On a clean surface, lay out one sheet of phyllo dough and brush it lightly with olive oil or melted butter.
Place another sheet of phyllo dough on top of the first one, and brush it with oil or butter again. Repeat until you have 4-5 layers of phyllo.
Spread the meat filling evenly over the phyllo layers, leaving a border around the edges.
Roll the phyllo dough up over the filling to form a log or spiral shape. If you prefer, you can also fold the dough over the filling to create a rectangular shape.
Place the rolled burek on a baking sheet lined with parchment paper.
Brush the top with the beaten egg for a golden finish.
Bake in the preheated oven for 30-40 minutes, or until the phyllo is golden and crispy.
Allow the burek to cool slightly before slicing into pieces.
Enjoy your meal!