Motorcycle doesn’t start

Hello, my motorcycle doesn’t want to and doesn’t want to start properly. At first it was still running perfectly, but since recently almost nothing is going on anymore. It ignites, then has for the fraction of a second speed but it does not start. Sometimes the engine then runs, but as soon as I give gas it goes out immediately again. I give no gas it also gives up the mind. Yesterday I installed a new battery and new spark plugs. After the approx. 100th attempt it then started and I could even There’s nothing going on today. Even with a bridge cable, there’s nothing going on. Now I’ve put out the spark plugs and let them go. What else could I do? Thanks in advance 🙂