You will need to kill all the mutated people that you come across in the first bit of the game. After that has been accomplished, make your way to the village section where the barn is located. Keep an eye out for any surprises while you are on your way to the desired section of the village.
In the barn, you will come across the Ganados. Make sure that you kill all of them because they may pose a problem for you later on. Once all the Ganados in the barn have been taken care of, search for a fence which should be located further down your way, close to the barn. This is where you will need to do the Ditman glitch.
In order to do the Ditman glitch, equip yourself with a Striker shotgun. Aim the shotgun and enter the inventory. Keep in mind that you must enter the inventory before the laser sight of the Striker shotgun appears. Once inside the inventory, equip yourself with any other item instead of Striker shotgun and then exit the inventory. When the game resumes, your character will be able to perform all actions 1.5 times faster than normal.
Make your way to the end of the fence. At this point, start moving back gradually. Continue to move back until the words ‘Jump over’ appear on the screen.
Make your character jump over the fence. Once that has been accomplished, your Resident Evil 4 character would be out of the normal bit. This makes your character exit the village and it will be on the outside. You have successfully performed the Fence glitch in Resident Evil 4.