How to Make an Iron Golem in Minecraft
To make an iron golem in Minecraft, start by placing 9 ingots in the crafting table to make an iron block, and repeat this process until you have 4 iron blocks. Then, gather a pumpkin from any grass block with air above it, and find an open area at least 3 blocks wide and 3 blocks tall. Place the 4 iron blocks in a “T” shape, with one block on the ground and the other three in a line above it. Once you've placed the iron, put the pumpkin directly on top of the “T” so that the structure makes a cross, and an iron golem will appear.
Craft four iron blocks. To make one iron block, combine nine ingots in a crafting table. You'll need four blocks (36 ingots) to make one iron golem. If you're short on iron, learn how to find more quickly. Collect a pumpkin. Pumpkins can grow on any grass block with air above it (but not on tall grass or snow). Plains biomes are the easiest place to find them. You need one pumpkin (or jack o' lantern) for each iron golem. You only need one pumpkin to start a pumpkin farm and grow as many as you like. First, turn the pumpkin into four pumpkin seeds in the crafting screen. Plant the seeds in farmland next to water, leaving one empty dirt block for each seed. The pumpkins will grow onto the empty blocks. Find an open area. The space must be at least three blocks wide and three blocks tall, but it's a good idea to work in a larger space. If you craft the golem too close to a wall, there's a chance it spawns trapped inside the wall and suffocates. Break any tall grass or flowers in the area before you begin. These sometimes prevent the golem from spawning. Place the four iron blocks in a T shape. Place one iron block on the ground. Put the other three in a row on top of the first one, forming a "T." This will become the body of your iron golem. Place the pumpkin or jack-o-lantern on top of the T. Place it over the center block, so the structure looks a little like a cross. This will change immediately into an iron golem. The pumpkin must be the last block you place, or the iron golem will not spawn. Let your iron golem protect villages. If iron golems sense a village nearby, they will wander over there and patrol its buildings. This defense isn't as foolproof as a good wall and torches, but you get to see the golem hand flowers to the villagers. Unlike naturally spawning iron golems, your own creation will never attack you, even if you harm it or a villager. Fence your golem in instead. Put up barriers if you want your new iron golem to stay in place instead of wandering off to protect villagers. The iron golem will also stay put if you surround your house with vines. Attach a lead to the iron golem. You can use a lead to make the iron golem follow you, or to tie it to a fence (although it won't defend very well when tied up). Craft a lead using four string and one slimeball. 
Craft four iron blocks. Collect a pumpkin. Find an open area. Place the four iron blocks in a T shape. Place the pumpkin or jack-o-lantern on top of the T. Let your iron golem protect villages. Fence your golem in instead. Attach a lead to the iron golem. 