Using ExpoSDK 51 you can hide the header like this:
<Stack initialRouteName="home" screenOptions={{ headerShown: false }}