Look up prices for land and ready made flats (commercial+residential)
Calculate how much you'd spend to own it (if it's land, cost of purchase+ construction+loan emi. If it's flat, purchase+ loan emi) maintenance cost+taxes will be there as well for both.
Calculate expected earnings from it per year
Compare the two numbers
If your earnings can't exceed the cost within a few years, there's not much point to it, plus it's a risk to take on illiquid assets.
This gamble only makes sense if you're betting on real estate prices increasing a lot, which means you need to pick the place really well. Has to be near highways/airports, facilities etc.
You'd be better off creating an Airbnb/Oyo rental of sorts, my friend is trying to do that in my hometown in a particular spot he picked out.