how do i disable my messages from showing up on my macbook air
Open Preferences in the Messages app and log out of your Apple ID. That will prevent your device from receiving any messages there.

Additionally you can disable message forwarding in the Messages settings on your iPhone.