Hello,
Go to Settings > Permalinks > choose the Post name and remove index.php if you have it there https://prnt.sc/10bc1su
Regards