If there isn’t a bunch of signs of wear and you can afford it, take it back and go for better. Otherwise ride it until it falls apart, and in the meantime save up for better. The one advantage of buying later is you will know more about what you want in a better bike.