Communicate.
Explain the condition to him, and how it affects you, and how long it lasts, and ask for his patience and understanding.
As a man with a wife and three daughters, I used to remind them occasionally to tell me when they have their 'time of the month', and I would make allowances for ratty and irrational behaviour, and roll with it.
But - as a man and not a mind reader, you need to tell me, so I know.
The same applies - it affects you, and by default him, so bring him on board, and enlist his understanding. You'll both be glad you did.