Lots of different things to start ruling out.
1) How many rounds through it total now?
2) Is the recoil spring on right? (tight end down barrel toward breech, loose end to muzzle)
3) Is it consistently the same round in the mag? (ie: last or 2nd to last)
4) Has the magazine been cleaned inside thoroughly?
5) Are you an experienced auto shooter or is this new to you?
There are a good many other things, but the most common issues will be covered in that list.
The Thunder.380 tends to need 200 to 300 rounds to settle in. Beyond 300, start looking for other issues. Having the recoil spring on backwards can make it a jam-o-matic. A weak mag spring can cause the last couple of rounds to not strip correctly from the mag. A dirty magazine, or one that still has some of the shipping goo in it can cause issues. Finally, the T380 is a blowback operated pistol. This design is more susceptible to "limpwristing" than a locked breech model. If your wrist is not held firm and the pistol is allowed to flip up excessively it robs momentum from the slide that is needed to cycle it correctly. Note that having a solid grip does not necessarily prevent limpwristing, your whole forearm ideally stay on the same plane as the barrel , requiring a locked wrist.
Odds are one or more of these things will get it running right. If not the Bersa warrant gunsmith is a member here too and can delve deeper into it.
And welcome to BT.
If all you're goin' on is my confession, forget it, I'm simply not credible. - Dale