> Yes, but i do not know why when trying to start Alertmanager it tells me the port is already in use and can’t start.
It's because there's an instance of alertmanager already running. (*)
This is not really a question about prometheus or alertmanager; it's a general system administration question. It all depends on how alertmanager was originally installed on your system, and whether it's running under some sort of supervisor process, and if so what that supervisor is. For example, it's possible to run alertmanager under systemd, in which case you'd use systemd commands to start and stop it. But that configuration is not supplied as part of alertmanager; it's something that a third party would have added, perhaps when packaging it up.
So the answer depends entirely on the details of your system. You might want to find a local system administrator who can help you identify how alertmanager was originally installed and configured.
(*) Or possibly it could be some other software listening on ports 9093 and 9094. Either way, you need to identify what that process is. Julius gave you some commands as a starting point to help identify that process.