Emachines CD burner

Can’t find an appropriate category for my question so I’ll just ask it. I have an EMachines computer that came with a CD burner. It has never worked consistently. Sometimes it will burn an entire CD with no problems. It always appears as though it has all burned successfully whether I use WMP or Real Player of Rhapsody. When I play the CD sometimes it has burned to a point and then I start hearing waves of static in a song and then the song just fades out to static and there are no more songs past that point. Is it just a faulty burner? Is there something I can do?