Either pay the excess refund amount at the time of filing revised return and enter the challan details while filing revised return. Alternatively, after processing of revised return, there will be an outstanding demand for the amount of excess refund in Intimation u/s 143(1) for the revised return and you need to pay the same later on receipt of Intimation.