Fry in fragrant oil, add a little salt and freshly ground pepper. Cook the pumpkin for about 10 minutes, it should fry, but not fall apart, for this the pan should be well heated.
You can also supplement and diversify the taste with your favorite herbs.