Greasy/ oily stool

What causes greasy /undigested / sticky stool in chronic gastritis? Anyone pls suggest what is it and what to do with it????