When your milk dried when you breast feed and formula feed

Swathi
I had lot of complications during labour and baby was in icu.so i have to breast feed and formula feed from starting. I taking tablet and proper diet to increase milk but am curious will formula feed and breast feed affect supply if so when breast milk will be dried.