What is a Writ Petition? How can you file one in Court?

What is a Writ Petition? How can you file one in Court? Writ Petition is…