Latching

Heather

I had my son a week ago and he was struggling to latch but would do it sometimes and stay on however he lost a lot of weight and the dr recommended i supplemented with formula well now when I try to get him to latch he either won’t or he will for like a second and let go. I think he’s used to the flow of the bottle. How do I get him in the habit of latching and staying on?