Yes, in general you want to grind the flower (using a cannabis grinder) before smoking or vaping. This allows the material to burn (or vape) evenly. It also makes it easier to pack into a pipe or bowl evenly, and in the case of vaping allows the air to flow evenly around it. You can get a grinder at any good smoke shop (aka headshop) or online.
mark