Overlaps/Consensus from set of nucleotide seqs

Hi,
I am wondering what the best way would be to determine the overlap and generate a consensus sequence from a set of nucleotide sequences? I have a fasta file with about 50 amplicon sequences and I would like to find which overlap and generate a consensus from those.

Regards,
DJF