As the old saying goes, you can choose your friends, but you cannot choose your neighbors. India has maintained good relations with its neighbours by consistent efforts. However, China and Pakistan have been a real test of how India handles its relations.
The recent example being the Dokhlam dispute (China), and the commencement of disciplinary actions further on. Though the issues didn’t escalate further had the 9th and 10th commander meeting not taken place, A war would have been impending. The recent ceasefire agreement with Pakistan (Originally initiated in 2003) does give a ray of hope, in terms of reducing the casualties on both sides of line. A situation like war would not serve any of the nations and would rather significantly impact the economy as well as deteriorate the geopolitical relations (Times of pandemic, require actions to be taken, in a calm and responsible manner).
Soft Power of India ensures that India remains attractive for its neighbours from three resources: its culture, its political values, and its foreign policies. Thus, in 2006, the Ministry of External Affairs set up a Public Diplomacy Division to promote India overseas.
Solution: The differences are best ironed out by meetings both by diplomats and military. Such meetings ensure ceasefire on borders, foster free trade and tourism. The media plays an important role of ensuring that countries keep their differences aside, start looking at things holistically, and avoid any sort of irresponsible confrontation.