If it's a Windows login, you can use sp_denylogin and sp_grantlogin or you can do it in Enterprise Manager by checking "Deny access" or "Grant access" in the login properties. If it's SQL Server login, you have to drop it or change it's password to prevent connection.