Kindly refer to the following link(s):
You have to continue fasting and praying until the blood flow is established.
Spotting before and after periods or menses
Seeing blood or spotting after the menses / period ends
Period stopped for 12 hours, should I perform Ghusl, how to determine end of period
It is not considered to be menses until the flow of the blood has been established