There is no specific period when you should switch. However, if you like the current rates and are expecting a rise that makes you anxious, then switching to a fixed-rate mortgage is ideal, giving you the peace of mind you deserve.