Consider an interlock kit. These are fairly simple to install yourself and they are the cheapest option. However, they are illegal in many areas and can be very unsafe. They must be installed absolutely correctly. Safe installation also requires that you have several extra spaces in your existing breaker box or that you install a new one, which must be done professionally. It is also a strict requirement that you get a kit that is approved for your specific breaker box (should be made by the same company). Consider a manual transfer switch. This is a slightly more expensive piece of equipment which will require a professional install. However, it is the only guaranteed legal option and it is accordingly the safest. This will help keep you from accidentally electrocuting someone else or even yourself.

Do not connect your generator directly to your breaker box without an approved transfer switch. Do not connect your generator to a washing machine or dryer outlet.