Indices with bands in different resolutions

I would like to calculate CI_red index = (NIR/RedEdge)-1 or using bands is the formula: (B8/B6)-1, but since B8 is 10 m and B6 is 20 m in the band maths calculator it say bands should have same spatial resolution (size). How can I calculate this index?
Or indices using bands with different spatial resolutions?
Thanks a lot.

Resample your image to any resolution you’d prefer 10 or 20, and then calculate the indices and don’t forget the Atmospheric correction beforehand,

> Resample process

Resample tool SNAP