I recently sold a home that I owned for less than two years and immediately purchased another. Am I exempt from capital gains because I used the proceeds to purchase?

Previous to my last home sale I sold another home which I owned for over two years.