What are the initial steps for filing divorce?

As one of my friends wants to file a divorce case, Can anyone please tell me what are the initial steps for filing divorce?