The best way avoid long term issues is to confront a problem when it arises. Communicate with your roommates face to face about the frustrations or problems you are facing. Speak to them the way you would want to be spoken to. Listen to their thoughts, and come together on a solution. Coexisting can be hard, but it is even harder if you avoid those difficult conversations and allow resentment to build up.
Find the courage to talk.
Listen to each other.
Respect each other's opinions.
And move forward.
This video is a great tool for roommates. It gives you some ideas of how to communicate to avoid causing problems in the future.