Could anyone please suggest how to configure ILM policy to an index

I want to configure ILM policy for an index could anyone please suggest best practice to create ILM policy

Can you point to any lacking details on the documentation?