DNA sequence can be altered by the process called as mutation. Mutation of DNA sequence can have a positive or negative effect on an organism and it entirely depends on the point and type of mutation that has occurred on the DNA sequences.
Mutations can be point mutation where single nucleotide base gets altered or deletion where a base pair gets deleted from the DNA sequences and many more. Mutation has driven the evolution of the organism.