Market basics

How do I prepare for volatile market days? What are short term capital gains and long term capital gains?