Fixing the smears before applying the gram stain procedure is necessary because fixation enhances the cell adhesion to the slide and prevents significant loss of culture when you later rinse the slide after staining. Fixation can be done by using methanol or by heat fixing where you move the slide in a circular motion over the flame.