Subsolution-supersolution method in variational inequalities