The rally is showing signs of exhaustion. How to protect your portfolio if a decline is coming