Specifically you will want to look at the 'interoperability tutorial' on the erlang.org documentation pages.
Do not be disheartened, I am extremely weak at things like math (when I go to uni. for the first time in a month or so I'll only be doing algebra)! I tried as I could to make the above post approachable to those who do not have first hand experience with a language like haskell, and if you have questions I would be happy to answer and can likely explain it to you in easier terms. :]Well I do know reading Mad_guy's post makes me feel dumb.