If your boss is unreasonable or unreasonable actions are impacting your work performance, it's important to assess the situation first. From there, it's important to try and be understanding and take into account your boss's position. Often a compromise can be reached that benefits both parties - a win-win situation. If resolution proves difficult, it may be time for you to seek outside help or go on leave until the conflict resolves.