Enter your gamer tag. HQ sends a one-time 6-digit code as a notification to every phone where you turned on HQ alerts. You type that code on the next screen, then pick a new 4-digit PIN.
No HQ alerts on your phone? Ask the King or an officer in-game to reset your PIN. They will DM you a temporary PIN.