Spotting in Pregnancy


Hi all I am 18 weeks pregnant and started spotting when I was 17 weeks pregnant, everyday a tiny bit brown or pink blood comes on the tissue once or twice a day. I am not bleeding and there is no pain. went hospital after it started and eveeything seemed fine at the time. Does anyone know if this is normal, the reason and what should I be doing as I dont want a miscarriagezpptS