When dealing with open source code what are the copyright rules?

Say if i take some open source software edit it to make it my own. What do i need to display? What rules do i need to follow? Do i have to give them some credit or mention them in the terms and conditions/disclaimer? :]