You probably thought what you were doing was the right thing to do. Or you thought it was no big deal. Obviously you were wrong. Your job now is to learn - mainly about yourself. Try to understand how others perceive you and your actions.
Body language is important.
Smile, move your eyebrows, tilt your head, lean forward, relax your arms. These indicate you are friendly, open and receptive. Don't frown, furrow your brow, lean away or cross your arms. These indicate you disagree or aren't listening. Give proper verbal cues.