Do at least 50% water change and add ammonia remover. Make sure the pH is at least 8.2 (more of a shift to the less toxic ammonium ion) and be prepared for a nitrite spike.
Then figure out why you got the spike - seahorses excrete a great deal of waste.