i am a a dependent. 18 years old

Planning to invest in some stock with my own money not much just around 2000 dollars.

I am not working in any job. When i trade stock and got capital gain, how can i file taxes? Do i need to file tax if the capital gain is under 850 dollars??