The aim of this article is to give a regularization method for an unilateral obstacle problem with obstacle ψ and second member f, which generalizes the one established by the authors of [4] in case of null obstacle and a second member is equal to constant 1.