Dou itashimashite and iie are both right. By saying どういたしまして, you are accepting that you did something kind for that person. Be careful because this can sometimes sound arrogant. いいえ, is used exactly as Michael said it, "Oh, it was nothing," or, "No problem."