Raspberry Pi 5 unable to connect the ssh via wifi

I would like like ask for help unable to connect ssh on other device via wifi, The raspberry pi is connected to a LAN and tried to connect via ssh on my laptop via wifi and unable to connect, tried also to ping the raspberry pi ip and destination unreacheable and vise versa. do i miss any configuration,

Pls detail your setup. Is your LAN connected with the same wi-fi interfaces that you’re trying to use for the SSH connection? Or are you using a cabled LAN, and wi-fi interfaces only for the SSH connection?
Could you post the output of ip route show and ip addr show for both devices? Chances are you need an additional route for the wi-fi connection.