If the email is from a legitimate business, they must have an unsubscribe button and it has to work. They get a little time before they are required to process the request, 10 days in the US, but I've usually seen it take effect immediately.
Don't click the unsubscribe button in an actual spam email.