How to close contigs file into one big contig

Hi everyone ,
I want to submit a genome assembly to NCBI.
I have contigs file but I don’t know how to merge all the contigs into one big contig using a refrence genome.
Can you suggest a tool or a way to do such task