blood in undies

Hi so I'm 38 weeks and 1 day and I went to bathroom and there was some blood in my underwear it wasn't mucas plug because it wasn't dishcahrge it looked like spotting.