Vaginal Spotting

after sexual activity during last days, i found spotting. Dr. told me there was an infection and i was put on flagyl Vaginal tab. she also took a swab test which was normal. but still when i have a trip to WC, i found blood coming from vagina at once. and then it stops bleeding. (please advise?) just completed my menses, last night it was 8th day and found spotting (is it normal?).