Baby only eats while sleep

So my 5 months old baby only eats while sleep. When I tried to to feed him while awake he gets fussy. Please help.