Could you tell me ways at home to prevent earwax buildup?

Not Q-tips. There is no way to prevent wax. It is natural to produce some. To control, can use otc products like debrox, murine ear system, or earigate system to dissolve or flush the wax from your ears. A home remedy would be hydrogen peroxide applied into the ear with a dropper. Stay on one side for several minutes then, shake out the ear. Repeat on other side. Do not do if you might have a hole in eardrum.