How to put mods on my minecraft java server Minecraft Servers

How to put mods on my minecraft java server Minecraft Servers