Late on period

Okay do im a week late on my period, i took a pregnancy test two days ago it came out negative but right now im discharging why is that? Whats happening? lol