Need more info!
Generally speaking, you’d want to fujd your 401k up to the employer match, then max out your Roth IRA, and go back to the Roth 401k and if you can afford to, max it to the IRS limit.
That being said, if you earn too much inna calendar year you might not be eligible for a Roth IRA contribution.
If your income is just over that threshold, you could switch your 401k contributions to pretax. This would lower your taxable income and you might then be eligible for a Roth IRA again.