It depends on how your recipe it written. If it calls for "1 cup sifted flour," then you sift before measuring. If it reads "1 cup flour, sifted," then sift the flour after measuring.