Ex-employers pension rollover with other IRAs in consideration

Hello, I would like to move my previous employers pension amount (they contributed to it , I never did) to a 401k or IRA. I am also doing mega backdoor to 401k Roth with intent to initiate Roth IRA for more flexibility of investments. What are my best options for the pension so that it does not trigger tax implications. Thanks!