You need a local exam by a surgeon or a general physician to see where the blood is coming from. It could be from the anus or vagina or the urethra
and needs to be localized. Also, please have a local exam by a gynecologist if the source of the blood is not the anus or urethra. Get a pap smear
, vaginal swab and a sonogram. If hormonal
imbalance is the cause, it can be corrected by hormonal replacement. If the bleeding is rectal and this is more likely as you are seeing it just before defecation, cause should be identified, say, a fissure or hemorrhoids or else, and treated. Urinalysis
followed by endoscopy
can identify the urethral causes, if any. Hope this helps.