Falling asleep while breastfeeding

My 5 month old falls asleep when I feed him about twice a day and he will eat about 3 minutes and i have to do everything I can to get him to wake up. He does not wake up until I set him on his tummy on the ground. Not sure how to make him eat