Hi, welcome to the forums.
Generally, we can't help you much if we don't have details, starting with the brand and model of your laptop, and then it would help more if you included the specs.
From your post, I'm guessing it's an HP and the charger is not compatible with it. Try it with a different charger.