The hotel is nearby the station.
The hotel is near the station.
Do not use nearby directly before a noun in the structure nearby + place. Use the preposition near: ‘The hotel is near the station.’
Nearby can be an adjective before a noun: ‘We stayed at a nearby hotel.’
It can also be an adverb without a noun after it: ‘The hotel is nearby.’
See NEAR