This is a common effect that is highly dependent on how you draw and the specific brush in your drawing app. It manifests as a longer "string" at the end of your stroke. These ends can be rendered as a constant width or a long very thin string.
NOTE: There is a related problem: Troubleshoot hooks at start of strokes
Are you "flicking" the pen away from the tablet at the end of your strokes? This can induce the effect. Try not taking the pen off the tablet surface and ending the line slowly.
Smoothing (also called Stabilization) can cause this issue. Try using less smoothing.
In my experience this can happen when pens have a low IAF (Initial Activation Force).
Even though a low IAF is a good thing. It can also mean that at the end of strokes it is still picking up the very last bit of low pressure.
Try adjusting your pressure curve as shown below to see if this helps reduce the problem.
Different apps may be more prone to this problem - depending on the implementation in their brush engine.
Reach out to other users of your application to see how they addressed it.
If you are using OpenTabletDriver, the Slimy Scylla plug-in can remove shoelacing with its Remove Tail Position Reports option on any of the Slimy Scylla's pressure smoothing filters.
The default value for Remove Tail Position Reports is 1, and usually this is enough.
However, sometimes may need to increase it to 2 or higher.
In general, set the value to as low a number as it will go and still work correctly for you.
The Lazy Nezumi tool (https://lazynezumi.com/) has several tools to help deal with these shoelace effect.