Whenever you are factoring, always first ask yourself, is there a common factor? If there is, factor it out. The remaining expression will be that much simpler. If your leading coefficient (the one in front of x2) is 1, find a pair of numbers that sum to the middle coefficient and have the constant term as their product. I like to write a table of all the possible pairs of integers that have the right product. Once you find the pair of numbers, plug them into (x+a)(x+b) in place of the a and b.
If your leading coefficient is not 1, multiply it by the constant term. This will be the product which has factors that add up to the middle coefficient. When you find the pair of numbers, split up your middle term using them. Then factor by grouping.
Ex: 5x2+3x-14.
5(-14) = -70.
-1*70
-2*35
-3*(doesn't work)
-4*(doesn't work)
-5*14
-6*(doesn't work)
-7*10
-8*(doesn't work)
-9*(doesn't work)
-10*7 (now you can rewrite the table in reverse order since you already had a 10)
-14*5
-35*2
-70*1
And the one that sums to a positive 3 is in red. Now, split the middle term up using -7 and 10: 5x2-7x +10x-14 = x(5x-7) +2(5x-7). There is a common factor of (5x-7) now, so you can continue: (5x-7)(x+2).