Formal:
* Ce n'était rien. (This is the most literal translation)
* De rien. (This is the most common and polite response to someone thanking you for something)
Informal:
* C'est pas grave. (This means "it's not serious" or "it doesn't matter")
* Pas de problème. (This means "no problem")
* Y a pas de quoi. (This is a colloquial way of saying "you're welcome")
The best way to choose the right phrase depends on the situation and your relationship with the person you're speaking to.
For example, if someone thanks you for helping them, you would likely say "De rien". If someone apologizes for something small, you might say "C'est pas grave".