Hi
Use search option or google it is one of the most typical issue with this bikes.
-replace the spark plug
-check the wiring
-check resistance on stator cables
if your magneto covers the stator you should have (from what i remember someone correct me if i'm wrong) :
RED - BLACK 1750 Ohm
GREEN- BLACK 23 Ohm
if you've got the stator on the ignition cover you will find the resistance in user manuals from newer bikes on husaberg.com