The word cabrón refers to:
A cuckold - a man whose wife or girlfriend has been unfaithful without his knowing about it.
Male goat - in this context it is inoffensive.
When the word cabrón is used in slang, it can be extremely insulting or offensive is particularly unpleasant in Latin culture. If you don't have a much confidence with the person you should avoid it.
But it depends on context.
If it's your friend, there's nothing wrong because you are calling as a affectionate way.
Cabrón also can refer to something that is annoying, a way of describing someone who is experienced, or someone with a bad personality, a man who is a coward and tolerates all manner of annoyances, or a pimp.
Comments are welcome!