This is not a trivial process. You will need to ask your major professor or find a phylogenetics textbook. I teach a whole course in the subject and there is no quick answer.
QIIME 2 (Quantitative Insights Into Microbial Ecology 2) can be used to produce phylogenetic trees as part of the metagenomic data analysis pipeline. Metagenomics data analysis involves several steps to extract valuable information from complex microbial communities. Collect the sequences of the 16S rRNA genes from the species you wish to include in your phylogenetic tree. To accomplish sequence alignment, select a tool or a website. ClustalW, MAFFT, and MUSCLE are other common choices. Following alignment, it is critical to delete poorly aligned or unclear sequence areas. This is referred to as data cleansing or trimming. TrimAl and Gblocks are two tools that may be used for this. You may build phylogenetic trees using software or a website that supports these approaches, such as MEGA, RAxML, IQ-TREE, or MrBayes. Most of the time, there is a tool for every function in bioinformatics. Hope this will help.
In addition to the comment done by Susanta Roy , I would like to share with you this paper (Bast 2013 Nature Protocol Exchange) that describe the generic sequence analysis protocol using software like MEGA. Prior to the phylogenetic tree reconstruction, you can use Bioedit to Edit DNA sequences.