Using the relationship between hardness and strength that exists for steel you can incorporate the effect of hardness in your material. Make sure that also the elastic properties (E- and G moduli, or Poisson's ratio) are correctly set in the material model.
As Erik Carton has mentioned, there are some approximations correlating hardness with the strengt of materials for example for metals.
But in general the hardness is determined by the plastic material behaviour and is not a real material parameter itself.
If you just want to perform a stress analysis with simple linear elasticity you won't need to implement something like hardness in your material model. Just do stress analysis and compare your results to the strength approximation from the hardness.
If you really want to model plasticity you need to use some material models accounting for plasticity (for example hardening models). But therefore the hardness does not directly help you.