To make sure a mod is put in the proper folder if you installed it in the wrong place, refer to the instructions on the mod's CurseForge page. After the mod has been installed, if you are still having problems with it, try deleting it and installing it again.