How hard and expensive is it to install solar panels on a house that is already built?

I live in central Texas. I want to install some solar panels on the roof of my house for electricity. Im just not sure how expensive it will be or if it even makes sense to do. My house is one story 2100 square feet.