How to rotate a 3d object towards the camera

I was working on a 3d game in which a 3d object rotates towards the position of the camera but I dont know how to do it can anyone please send a screenshot explaining how to do it