positive pregnancy test and now brown discharge

S

My periods are due today. yesterday i took pregnancy test and it came out positive but now I have brown discharge. is it AF coming? back pain and cramping as well.