How to change the cluster health status from red to green

How to change the cluster health status from red to green, are there any commands used to do so.

You should check your logs and various _cat APIs to see why things are not green.

how do i check _cat APIs

If you're running Elasticsearch on you local machine, type this in the browser: http://localhost:9200/_cat/health

Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-health.html

Thank You.I'll try it out.