Formal:
* "Fique bem": This literally means "stay well," which is a polite and appropriate way to say goodbye.
* "Mantenha-se bem": This means "keep well" and is another formal way to wish someone well.
Informal:
* "Seja feliz": This means "be happy" and is a more casual way to say goodbye.
* "Tudo de bom": This means "all the best" and is a common way to wish someone good luck.
* "Vá com Deus": This literally means "go with God" and is a common farewell, similar to "God bless you" in English.
The best option will depend on the specific situation and your relationship with the person.