Newbie requires guidance

im new hear and to coding but can someone tell me about open-source codes, how to access them and can they really be used to create program by anyone?