We present a lattice QCD determination of the b quark mass and of the B and B s decay constants, performed with N f = 2 twisted mass Wilson fermions, by simulating at four values of the lattice spacing. In order to study the b quark on the lattice, two methods are adopted in the present work, respectively based on suitable ratios with exactly known