your ques. is not clear, please elaborate. as far as i have understood i can only reply that u can sell your house after 2 yrs but any gain will be chargeable as short term capital gain and accordingly taxed.
U can't sell ur house unless u repaid ur loan...but if u sell ur house after repayment in 2 year from the date of purchase then short term capital gain is attracted..