"Nervous" is primarily an adjective, used to describe someone who is anxious or easily agitated. For example, you might say, "She felt nervous before the presentation."
However, the noun form of "nervous" can be "nervousness," which refers to the state of being nervous. Additionally, in informal contexts, some people might use "nervous" in a colloquial way as a noun (e.g., "I have the nervous"), but this usage is not standard.