For this also you need to have a Prime module of Schrodinger software to refine modelled loop, it will give you the number of loops, you need to select the energetically stable loop for your final HM.
Yes. You can use an online server as well to model loop.
https://modbase.compbio.ucsf.edu/modloop/
Article: Yasaman Karami, Julien Rey, Guillaume Postic, Samuel Murail, Pierre Tufféry, Sjoerd J de Vries, DaReUS-Loop: a web server to model multiple loops in homology models, Nucleic Acids Research, Volume 47, Issue W1, 02 July 2019, Pages W423–W428, https://doi.org/10.1093/nar/gkz403
You can use Modeller as well to build and refine your loops. The loop building and refinement scripts are in built in the software package and you just have to edit them as per your particular system.