Partial sale tax exemption less than 2yrs

Bought a home and lived in less than 2yrs. Had to move overseas for military job and sell the house. Where and what form do we fill out for this specific circumstance?