Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper for easy cleanup.
Pat the cod fillets dry with paper towels. This helps them get a lovely golden crust.
In a small bowl, combine the olive oil (or melted butter), minced garlic, chopped fresh parsley, fresh dill (if using), dried oregano, salt, and black pepper. Mix well.
Place the cod fillets on the prepared baking sheet. Spoon the garlic herb mixture evenly over the top of each fillet, ensuring they are well coated.
Bake for 10-14 minutes, or until the cod is opaque throughout and flakes easily with a fork. Cooking time may vary depending on the thickness of your fillets.
Serve immediately with fresh lemon wedges and your favorite side dishes.