feeding issues

Maia
So when my son was born about two months ago he wouldn't latch on to my breast so I had to use the nipple shield which worked out fine but as of yesterday he won't take the nipple shield or my breast he just wants a bottle I was wondering if anyone else had this problem and what the solution was like could you get him back on the breast or did you just have to continue with the bottle until?
He'll latch onto the nipple and then with the nipple shield but he won't keep it he'll spit it out and then doesn't want it back.