adjective
BAD : Their house is nearby the new airport.
GOOD : Their house is near the new airport.
◆◆◆
Nearby is used as an adjective or adverb: 'We flew from a nearby airport.' 'There is an airport nearby.'
When you need a preposition, use near : 'The hotel is near the sea.'