Getting problems eating food, what do doctors recommend?

Getting problems eating food, what do doctors recommend to do? What do you usually do if you have problems digesting food?