Just cut and peel the pumpkin and cut it in cubes. Grease a baking dish with olive oil. Place the pumpkin in the dish. Next, season it with the salt, the pepper, the thyme and the oregano. Sprinkle some olive oil and bake it in a preheat oven at 220ºC/428ºF for 40 minutes.