Take care is used when saying goodbye to someone. It actually means "Take care of yourself."
For example: "Bye! Take care. "
Take care of means to look after someone or something:
For example: "You should take care of your new car, it cost a lot of money."