as there is increased blood supply to local genital organs, little friction can lead to spotting that may be responsible for your discharge.
urinary tract infection
is also one cause for pain abdomen during pregnancy
, so if you are having symptoms like frequency, urgency of urination etc get treated for that.
continue bed rest
and take adequate water,
if you again get contractions or the discharge gets increased consult your doctor again.