The BJP minister said this on Wednesday during a conclave in Mathura organised by an all-India traders' body.
"Pakistan is a 'nasur' (ulcer). Soldiers have been instructed to maintain restraint. However, if firing starts from the other side, there should be a rain of firing till the enemy is forced to take shelter in bunkers," he said.
The Uttar Pradesh Power minister also discussed the expansion of the All India Udyog Vyapaar Mandal's (AIUVM) traders identification programme.
Shopkeepers, vendors and traders under the programme, launched in 2006, are given identity cards, which Mr Sharma said "instills a sense of safety" among members of the business community.
"The government will cooperate with the traders' body and help it take the programme to every district in the state. The Stariya Vyapari Dukandar Parichay Patra Yojana (trader identification scheme) instills a sense of safety in the trader community," he said.
State vice president, AIUVM, Murari Agrawal, said the programme, is currently limited to only four districts in Uttar Pradesh, now efforts are being made to take it all the districts.
"The magnitude of corruption, in the previous government in the state was so big that traders felt insecure. Power brokers, in the previous government were engaged in kidnapping for ransom," he alleged.
The minister also condemned the recent incidents of violence during "Bharat Bandh".
The pan-Indian shutdown was called by Dalit outfits against the alleged dilution in the provisions of the SC and ST (Prevention of Atrocities) Act by the Supreme Court.
The Power minister assured that electricity supply infrastructure in Mathura was being improved so that pilgrims coming here do not face problems.
Claiming that there was uniform supply of power in the state, he said, "Gone are the days when the privilege of round the clock power supply was limited to four or five districts."
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.