It depends. When you want to express, that Pizzapizza is your favoritfavourite meal, you can say:
Ich esse gern Pizza.
When you admit that you would accept your Pizza (probablybe happy to eat pizza, e.g. that has already been ordered or served), you would prefersay:
Ich esse Pizza gern.
In the first case, I would prefer "gerne" instead of "gern".