To prevent an accused individual from leaving India, the primary legal step is to file a First Information Report (FIR) with the local police. Once an FIR is lodged, the police can arrest the individual. Subsequently, a court order can be obtained to confiscate the accused's passport and prohibit them from leaving the country without permission until the case is resolved.