If you don't know whether or not you're going to have an exam next month, you use a 1st conditional:
"If I don't have an examination next month, I'll go travelling."
If you halve an exam next month, and you are imagining what you would do if this situation were different ( a hypothetical situation), you use a 2nd conditional:
"If I didn't have an examination next month, I'd go travelling."