Mucus and spotting

I'm 38 weeks, last night I had painful contractions for 5 hours but nothing ever came of it. The nurse checked my cervix and sent me home. Now tonight I've just lost a bit of brown/red mucus and I'm spotting. Is this something I should call the doctor for or is this normal?