Friends

Is it wrong for me to ask my friend not to come to me with their problems if they are never there for mine? If not then how do I do it without losing them as a friend