The best way to avoid codependent relationships is to not be codependent yourself. Know what it means to be codependent, simply giving to get. When you are trying to make a relationships work by trying to get all you can from the other person you will soon bankrupt the relationship.