Mods must be added to the creative mode of Minecraft. You cannot add them to your survival worlds or servers.