If you are a teacher or manager in a course, you will have the ability to edit.
Either:
Administration block > Course administration > Turn editing on
Or:
Clicking will turn editing on.
Clicking will turn editing off.
» Guide to Moodle