A solar panel will be most effective if you have a south-facing roof. This will ensure maximum sunlight reaches the panel.
You will also have to make sure that your roof can support a panel, and that it has a large enough area for panel installation.