Academic help online

How often are congressional districts determined? What are they based upon? Is it done in a fair and equitable manner? When it’s done in a questionable manner what is it called? What is the origin of it?