How do you write I am from Korea in Korea?

Ther are two different ways to express the sentence.

나는 한국에서 왔다.

저는 한국에서 왔습니다.

The second one is more polite way, so when you write a narrative essay or letter, the second experession is better.