Accent marks

How do you add accent marks to foreign language transcriptions? Are they required?