My recommendation is to do both in your career. Working at a big company can teach you how to work with a lot of stakeholders, big teams, management and often working with mature stuff. It comes often at the price of bureaucracy and a "can't do" attitude. You may also feel underchallenged. In a small company you learn how do things in a more direct way and often have more flexibility.
Both are good things to experience.