Hey plague_doctor_plushie,
Wurst can work with Forge, but it depends on the version of Forge you're using. Here's how you can go about it:
Forge 1.20.1: If your friend's server is running on Forge 1.20.1, you can use Wurst by installing the Sinytra Connector mod as well as Forgified Fabric API. Once you've installed those, you just need to drop the Wurst jar file into the mods
folder along with those mods.
Forge 1.12.2 or 1.10.2: For servers running these Forge versions, you can use ForgeWurst. Just download the correct version for your setup and drop it in the mods
folder.
If the server is running on any other version of Forge, unfortunately Wurst won't work as it's only Forge-compatible in these specific versions.
Hope this helps!