Hi @Ayushi
There is no direct solution for it. First place to check is your Monitoring Console and splunkd.log or _internal about health of indexers. If you know the reason for going down then appropriate solution can be applied.
Hope this helps!