Spotting while pregnant!

How long did you spot for while pregnant? I have had mild cramping and some light spotting on and off for about 2 hours and I've heard it happens, just curious to see what is considered normal and what is urgent?