If the car bounces and takes a while to settle down after hitting a pothole, the shock absorbers are failing and you should replace them soon. It's not an absolute emergency if you drive carefully, but putting it off too long makes the car harder to control, wears out the suspension faster, and can eventually damage other parts too (bearings, springs). With a 2019 Panda and that kind of behavior, it's not about specific mileage but actual wear.
Here's a trick most people don't know about: before you go to the mechanic, do a really simple test. Park the car on flat ground, put your hands on the wheel arches (one on each side, front and back) and push down hard a couple of times. Then let go. If it bounces two or three times before settling, the shock absorbers are basically shot; if it goes stable right away with one or two movements it's still okay. It's not a scientific test but it gives you a realistic idea before you spend money.
Take it to the mechanic in the next few months anyway. Getting them replaced now costs less than waiting until the car becomes hard to control around curves or when braking. Shock absorbers for a Panda aren't expensive compared to other cars, and doing it while they're still partially working is way smarter than waiting until they completely fall apart.