Constipated

Constipation and I barley eat because I can't keep anything down. What works?