Please respond ...miscarriage

What color is it.. is it painful???

Im 17wks and idk whats going on i see my doc on tues she said its fine and rest cus of sex

Im lightly bleeding for 5 days its brown i use a panty liner what the hell is goin on is this normal