Welcome to HCM,
Pain in the abdomen could be due to many causes like colitis
, UTI, Renal stone, or could be non specific .
You can take anti spasmodics and see if your symptoms could be relived or no.
If the symptoms doesn't improve you can consult doctor
for detailed evaluation.
As blood per rectum
is bright red it could be due to piles only.