check this thread:
How-To Guide: Removing and Painting a Valve Cover - 5SFE -- 56K warned Lots of Pics
pics are broken in first post, but they posted a link to all of them in one of last posts.
it's as simple as removing all spark plug cables and 2 vacuum lines (PCV on top of cover and another on driver side) and unscrewing 4 tube nuts (30mm socket, free loaner in autozone). then you have to pry 4 tube nut seals with flat screwdriver and remove them. after that the valve cover is free and probably held only by baked gasket and RTV (may need to pry on edges, be careful not to damage the matting surface)
new gasket OEM part number is:
11213-74020
you may also want to replace the PCV valve and grommet at same time:
12204-74030
90480-18001-83
also get red RTV from parts store and use small dabs of it at spots where gasket changes shape (vertically) and on cast connections.
when tightening the nuts on re-installation use a torque wrench and max force of 17ft-lbs when tightening them equally starting from middle ones and then outer.