Prayer when spotting during pregnancy

Am

Salaam Sisters, I have a question about praying while spotting during pregnancy…does anyone know if this is okay? Or is it considered like a period?