This isn´t an easy one, probably fuel related - i would try to clean out the carb and jets (main jet can become blocked slightly)and tap filter from tank. If it isn´t any of these things it could be electrical. Does the bike splutter when stalling or cut straight out, spluttering would point towards fuel starvation.