I don't think it's mandatory, but do it if you enjoy it. Try to start with projects you are already using, and with small fixes. You never know if your idea is not in the direction the maintainer wants, or if the maintainer is just a moron.
Which OS projects are you using?