You really should fix the route cause of the flickering lights. A visit from an electrician isn't outrages, and could save your home, as well as fix the issue.
It could be as simple as loose wiring. If you're remotely handy and have some basic electrical knowledge, you can kill the main power in your panel, remove the cover, and tighten down all the connections.