You can change this through your own actions. Be true to yourself and honestly speak your mind to them. Tell them that you feel taken for granted. If they continue to take you for granted, you'll need to accept that that's their right. However, you can move on and find people who do treat you well.