To conduct this experiment in class you will need two connical flasks, two rubber stoppers, two glass tubing in an S shape (commonly referred to as swan-neck) tubing. You should have some chicken or beef broth (like chicken or beef soup), but make sure it doesn't have too much salt or the bacteria won't be able to grow in it as water would flow out of them by osmosis.
If you don't have an swan-neck tube, you may need to make it yourself (but very carefully). You need to heat the glass in a Bunsen burner flame and bend it and allow it to cool. This can get VERY HOT and it could snap very easily. Hopefully, the teacher could do this for you.
Prepare your broth and pour equal amounts into both connical flasks. If you make your own broth at home, there will be solid fat at the top so you might want to first of all make the soup, put it in the fridge, pick off the fat and then let it become liquid again. Put on clean rubber stoppers, and then insert the tubing to ensure they both fit snugly. You might want to use a membrane perhaps to prevent the air coming in if the tube/stopper don't fit snugly.
Allow the contents of both flasks to boil for 15 minutes and then let them cool a bit. Break off one of the swan-necked tubes leaving a vertical/straight piece of tubing and keep it in a place out of direct sunlight.
In this experiment, Louis Pasteur was trying to show that it wasn't air that caused spoilage, but the particles in air which he termed 'germs'. This disproved spontaneous generation - also known as abiogenisis.