Topics on complementarity problems