Can you be friends with an ex? Do you tell your partner about it?

How do you move on in a relationship when it’s no longer about the ‘love-love’?