Anyone know what’s going on here ?

I’ve had this hp laptop for going on 5 years and it’s been doing this quite a bit lately. I use it maybe a few times a month especially when I try to do apps for a job & for my business stuff that I can’t do on my phone. It’s been doing this for the past almost 2 months. I was told to take it somewhere to get it looked at but also do t want to pay more to get it fixed than I paid for the laptop itself. There’s no visible damage to the screen from what I see . Just the flickering. And after a while it tends to stop and work as normal. Any advice on this ? All opinions are welcome