When do I take a pregnancy test?

So this is kind of odd but I had bleeding about a week after my period. It lasted for 4 days and my period is usually super heavy and last for 7. I don’t know why I started bleeding and my period is suppose to come now but I don’t know if it will just because I had this random bleeding. Should I take a pregnancy test? When should I?