Home often do I feed him?

My baby is 3 weeks old and I'm having problems breastfeeding so I decided to switch to just formula for now and maybe I'll also pump. How much do I pump and give him and how much formula every how often do I give him. I wanna know just for today so tomorrow I'll ask his Dr how much But I need to know how much to feed him right now