Here's how:
Adjective: Describing a person or thing.
* Example: "She was a modest woman."
Adverb: Modifying a verb, adjective, or another adverb.
* Example: "She dressed modestly for the occasion."
The context of the sentence will determine which part of speech it is.