I have a question regarding Haiz. I have recently started spotting 3 to 4 days before my due date. It is not flowing blood but brown spots ir light pink which come when going to the toilet. Sometimes only once a day. Should I consider myself paak? Also after proper periods start the spotting continues after 7 days, sometimes till 11days. Please tell me the ruling if I can pray.

You follow the rules of istihaza.
400. In the case of little istihaza the a woman should perform separate Wudhu for every prayer and should, as a recommended precaution, wash or change the pad. And if some blood is found on the outer part of her private parts she should make it Pak with water.

401. In the case of Mutawassita, it is an obligatory precaution for a woman to make one Ghusl everyday for her daily prayers, and she should act accordingly to the rules of little Istihaza as explained in the foregoing rule. If the state of Istihaza began before or just at the time of Fajr prayers, she should do Ghusl before offering Fajr prayers. If she does not do Ghusl intentionally or forgetfully, she should do Ghusl before Zuhr and Asr prayers. And if she misses even that, then she should do Ghusl before praying Maghrib and Isha. This she would do regardless of whether bleeding continues or stops.

402. In the case of excessive bleeding the woman should change, as an obligatory precaution, the cotton or pad tied to her private parts or make it Pak with water. It is also necessary that she should do one Ghusl for Fajr prayers, one for Zuhr and Asr prayers and once again for Maghrib and Isha prayers. She should offer Asr prayers immediately after Zuhr prayers and if she allowed any lapse of time between them, she should do Ghusl again for Asr prayers. Similarly if she keeps any time gap between Maghrib and Isha prayers, she should do Ghusl again for Isha prayers.
All these rules apply when bleeding is so excessive that it continues soiling the pad etc. But if it takes longer to soil the cotton or pad, and a woman has enough time to pray one or more Namaz in between, then, as per obligatory precaution, she would change the pad or wash it to make Pak and then do Ghusl only when the cloth covering the pad or cotton is fully soaked. For example, if a woman praying Namaz of Zuhr finds out that the cloth is fully soaked again before the prayers of Asr, she would do Ghusl for Asr prayers. And if she finds that the flow of blood is slow enough to allow two or more prayers to be offered before the cotton or cloth is totally soiled with blood, there will be no need for Ghusl before the ensuing prayer. For example, if she finds that there is enough time to offer even Maghrib and Isha prayers, before the cloth is fully soaked, she would pray Maghrib and Isha without Ghusl. In every case, the Ghusl in excessive Istihaza does not require Wudhu after it.