In this paper, we solve the bound state problem for the Varshni-Hellmann potential via a useful technique. In our technique, we obtain the bound state solution of the Schrödinger equation for the Varshni-Hellmann potential via ansatz method. We obtain the energy eigenvalues and the corresponding eigenfunctions. Also, the behavior of the energy spectra for both the ground and the excited state of the two body systems is illustrated graphically. The similarity of our results to the accurate numerical values is indicative of the efficiency of our technique.