You know what right or wrong by learning and asking. There are a lot of instrumens to learn such as law, customs, and religion. While for asking, try to ask your parents, priest/rabbi/guru, officer, and friends. Sometimes, right or wrong is depend on society which mean depend on majority.
ddbrowneyes_dd