You might be tempted to sell if the neighborhood has a sudden increase in demand, and listing prices have skyrocketed. Or you got an especially good deal on the house, and you have made significant renovations that have increased its value.
Unless you’re a professional house flipper, though, it’s tricky playing such quick-turnaround games with residential real estate. You can sell your home right after purchase, but usually it would not be a smart financial move to do so: You’ll end up taking major losses. Most people only do it if they have emergency, significant life changes, or a compelling job offer in another state.