All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Respected sister,
You should know that the actions you did during the stoppage of blood that takes place within the menses, including making Ghusl and observance of prayer, are valid on the condition that you should see one of the two signs of purification, namely: - total dryness or Al-Qassah Al-Bayddaa’ (i.e., the white discharge).
So, if you see the blood – even if little - again during the period of menses, you should no longer observe Prayer; yet when it stops again, make Ghusl and observe Prayer and other acts of worship since you are now pure and so on as long as the total number of the menses days does not exceed 15 days – the lengthiest period of menses according to the most authentic opinion.
Based on your question, you mentioned that you were on the sixth day, and thus this blood is menses. As such, if you see the sign of purification, make Ghusl and observe prayer and the other acts of worship as we previously mentioned.
Allah knows best.