The stomach pain you had experienced might be an intestinal colic. Colicky pains usually occur on and off, severe in intensity and because of the severe pain
you might have felt like throwing up and had sweating. The pain of appendicitis
will be continuous and usually associated with vomiting
and fever. You had mentioned that your stools are hard and you had bleeding while passing stools. Did you experience any pain at the anal region? If you had experienced any pain at the anal region, it might be due to small fissure. When we are constipated because of the hard stools sometimes small cut can occur what we call as Anal fissure
. To get rid of these hard stools, stool softener
is not the only treatment. You need to modify your diet. You need to take diet rich in fibre content ( Fruits and Vegetables). Its better to avoid non-vegetarian food for some days. You need to drink plenty of water (minimum 2 liters per day). It's not a good idea to take enema regularly.
My advice is to modify your diet and use stool softener simultaneously and if the problem persists, consult your surgeon immediately.