Agarose gels are typically prepared by dissolving agarose powder in a buffer solution, heating the mixture to dissolve the agarose, and then allowing it to cool and solidify into a gel. The concentration of agarose in the solution can be adjusted to control the pore size of the gel, making it suitable for different applications.