If you forgot the fact that you were fasting and ate or drank by mistake and discontinued as soon as you became aware, then you need not make up. If, however, you persisted in eating even after you became conscious of your mistake, you ought to make up for it. You are required to make up any number of fasts you broke this way. You should do so before arrival of the next Ramadhan.