All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
In principle, the blood that flows from a woman, regardless of delivery, is menses until it is proven that it is vaginal bleeding outside the menstrual period. Therefore, the blood you experienced is menses and you are required to observe what the menstruating woman must observe.