An answer to a question every single one of us must figure out for ourselves.
Because if we do not know how to get bored, we will end up scrolling.
So every single one of us must have a list of grandma hobbies that we do when we get bored. If not grandma hobbies, at least hobbies that do not require a screen.
So knitting, cooking, baking, painting, stitching, crotchet, cleaning, organising, reading (paperback), making notes (on a notebook), recording random insights for your projects (on a notebook), looking out of the window for no reason, etc., are all forms of getting bored.
It is also important that you figure how to get bored at your own home. Otherwise consumerism would teach you to go bowling or shopping and again make you reliant on again avoiding boredom while being at home. The only time your boredom should allow you to go out of home is to play a sport or catch up with a friend or for a walk. Basically, anything that fulfills you internally and does not cost money to get done.
Get bored. Otherwise the thing in your hand is working day and night to make your mind get burnt.