.mod file

I am a new user to dynare and have never written .mod files. Can someone please explain where I go in order to write .mod files. I dont exactly get how I am supposed to do so.
Thanks.
Thanks.
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/