You will have to go back to your home country and wait for a visa. There is a process for petitioning a family member and the waiting period depends on the country where you are from. Things like priority date comes into the picture always. If you applied in 2012 then you will have to wait for a visa until that date is current.