Solar Panel regulations

I'd like to install solar panels on my roof to supply my energy,are there susities for this and can I sell my excess to the grid and for what price.  Thanks

too long to explain... just install and use the solar panels for your own needs, do not even think of selling energy