Use a tripod, meter with the sun just outside the viewfinder, then exposure lock and re-compose to take your shot.
Depending on what film you use, you may want to bracket 1/3 stops to see what effect you like most.
For sunsets/sunrise, some people like to use orange or graduated filters for effect.