So, you're about to create your FreeMinecraftHost server, and you don't know how to add mods to it? Well, this is your guide to do so! We will be using as an example server a server with fabric already installed on it (basically, we already created the server with the Fabric egg and ran it for the first time to let it install)
First of all, you need to download the mods that you want to use. Two pages you can use are Curseforge and Modrinth, yet Modrinth is recommended (The page where you download the mods is not important).
Secondly, you're going to go to your Pterodactyl Panel, and to the File Manager. Then, you're going to click on the mods folder.
After that, you're going to click on the Upload button, and choose the mods you want to upload. You can also zip said mods, upload the compressed file and unzip it in the file manager.
And there you have it! Your mods are uploaded. You should, however, check if you uploaded every mod, and if you have every dependency for every mod uploaded, or else your server will not run! If there is any problem, upload a forum post or join our Discord for assistance on the matter.