Did you ever read the parts from the Documentation.
I try to help you learn it yourself
You have to read following Documentation sites:
At this pages is the answer of your question stored and I'm really sure that you find the right way by yourself.
Don't be shy give yourself a try!