Hi @Rana Umar,
There is not enough information to help you. Could you please post the error logs.
The location by default is: C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log
There is a summary.txt file and many subfolders created every time the Installation wizard is started. In those subfolders, we can find a Detail.txt file.
View and Read SQL Server Setup Log Files - SQL Server | Microsoft Learn
When installing SQL server on Windows 11 and Windows Server 2022, there is a known issue related to system disk sector size greater than 4 KB. If you find error like this: There have been 256 misaligned log IOs which required falling back to synchronous IO.
Please troubleshoot follow by this doc: Troubleshoot errors related to system disk sector size greater than 4 KB.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.