Breastfeeding

My son is 5 days old and still not latching. I pump and then giving him whatever I get. And than the formula because I’m not producing enough. Any advice or tips what I should be doing?