do you mean bleeding during passing stool?
if it is so then constipation
may be the culprit and take treatment to get rid of constipation
piles may develop during pregnancy
and bleeding piles need treatment
consult your doctor and follow advice
have plenty of liquids and high roughage diet
hope you be all right soon