If you get him neutered, he is less likely to spray in the apartment. Keep him busy, and occupied, and he may be perfectly happy!