If your stomach is hard does it mean you are pregnant?

No, probably not. Your abdomen doesn't begin to harden until around 5 months of pregnancy, so unless you are already quite far on, it is unlikely that this is a sign that you are pregnant