How to defeat pumpkogol in Elden Ring?

The pumpkin head can be found in the ruins of the waypoint, it is a checkpoint in front of the…