How do i make my project not open as soon as i open unreal engine

Are you opening the Epic Games Launcher or clicking a shortcut to launch your engine version? If you are launching from a shortcut, open its properties and see if that leads to your .uproject file or your engine UE4Editor.exe