Editing M.U.G.E.N depends on what you are trying to change, but it generally comes down to a few configuration files. Common ones include mugen.cfg for core settings, system.def for interface and system behavior, and select.def for choosing which characters and stages appear.
Open the relevant file in a plain text editor, make your changes carefully, and save. Because these files control how the engine runs, it is wise to back them up before editing.