Swapping to formula

I’ve only been breastfeeding for 2 weeks but no matter how much I have my son on the boob he is continuously looking for it. He’s putting on weight so I know there’s enough there. But having him attatched to me near non stop is driving me a bit crazy. Wondering how to slowly get him off breast and completely to formula without effecting my breasts and him