Whether you need a pilot's license (EU Drone License A1/A3 or A2) depends on the weight and equipment of your drone, as well as the category in which you are flying.
For most drones weighing 250 grams or more, a pilot’s license is required. Only drones weighing less than 250 grams without a camera (or in the C0 category) are exempt. Therefore, always check the weight, class, and category of your drone before you fly.