Iterative methods for a class of variational inequalities in Hilbert spaces