FTM wanting to wean son off of breastfeeding

So I ebf my son (4 months old) and he won’t take a bottle. I need to start working again but I don’t want to pump. How do I have him take a bottle? And how do I wean him? Also, when I start giving him baby food eventually, how long does he need formula for?