Most Mortgage Loans have a lock-in period (usually between 2 to 3 years). For you to be eligible for Refinancing, you will need to ensure that you have served or about to complete the lock-in period.
Otherwise, there will be a penalty that will be incurred if you go ahead with the new mortgage loan.