Hey mate,
There's a pretty common fault in our 5EAT. The "Turbine speed sensor 2" is more than likely at fault. Mine completely shit itself and every shift between 1-2 was a slam shift and sometimes 2-3. If it starts to happen regularly it'll need replacing. If it happens when you're out and about, put it into tiptronic and take off in 2nd gear. This will help you limp home/somewhere safe.
The part is cheap as chips (under 100). Try find someone who will replace just the part not the whole valve body. Or do it yourself. It's not a huge job if you're comfortable with cars.
Anyway don't stress much for now.