Your group is the fundamental group of a 2-dimensional orbifold with underlying surface the 2-sphere and 3 cone points of order p.  It follows that it acts properly discontinuously and cocompactly by isometries on the 2-sphere when p=2, the Euclidean plane when p=3, and the hyperbolic plane when p>3.  Hence it's infinite when p>2.