If I break an oath and have decided to keep fast for 3 days I want to know the niyat of this fast and should I fast consecutively?

First you have to feed 10 needy persons, each one 750 grams of flour or bread.
If you are not able to do so, then you can fast.