Your friends were right and you were wrong. Apologize for your recent behavior and they’ll happily welcome you back into the fold.