The methods that you will use to factor any polynomial depend on how many terms the polynomial has.
Any Polynomial
The first step, no matter what you are factoring, is always to factor out the Greatest Common Factor, commonly referred to as the GCF.
For example:
or
or
Binomial--2 Terms
Again, the first step is to factor out the GCF. If there is no GCF, then there are only 3 possibilities:
Difference of Squares, Sum of Cubes, or Difference of Cubes.
Difference of Squares:
References