Iterative methods for fixed points and equilibrium problems