We provide existence and multiplicity theorems for the scalar curvature problem on Riemannian manifolds of dimensions 4, 5 and 6. Our approach is based on the critical points theory of Bahri [(5)] and uses the positive mass theorem of Schoen-Yau [(20)].