Urgent: TPS to F1

Any advice on how to transition from tps to F1? Or how long it will take for reinstatement? For someone who never had even a single day of unlawful stay but is no longer on F1?