Anyone have been in this situation?

Hi, my doctor prescribes me duphaston (dydrogesterone) 10mg for 7-10days and then stop and wait for my period, which was missing until cycle day 76, now in 77cd after 5days of medication my period arrived. Should I consume my dosage to reach 7-10 days of usage or stop until 12cd?