How to combine lstm and max pooling layer

I am not sure how to add max pooling layer after lstm and which kind of max pooling layer (ex. MaxPolling1d) I should use.
If someone knows about this, could you share your idea?