An image forming apparatus comprising: communication means capable of simultaneous communication over a plurality of frequency bands; and control means configured to determine whether content of communication received by the communication means satisfies a predetermined condition, wherein the control means is configured to execute control for switching a frequency band of communication via the communication means to another frequency band of the plurality of frequency bands when the content of communication received by the communication means satisfies the condition, and characterized in that: (a) the condition is that data received by the communication means includes a print job, and the control means for switching includes: control for switching a frequency band of communication by the communication means to a frequency band with lower communication speed when a print job is already being executed; or (b) the condition is that data received by the communication means includes data indicating a state of an application for operating the image forming apparatus in a communication partner, the state of the application being an active state or a non-active state, and the control means for switching includes: control for switching a frequency band of communication by the communication means to a frequency band with lower communication speed or stability when the state of the application is a non-active state. communication means capable of simultaneous communication over a plurality of frequency bands; and control means configured to determine whether content of communication received by the communication means satisfies a predetermined condition, wherein the control means is configured to execute control for switching a frequency band of communication via the communication means to another frequency band of the plurality of frequency bands when the content of communication received by the communication means satisfies the condition, and characterized in that: (a) the condition is that data received by the communication means includes a print job, and the control means for switching includes: control for switching a frequency band of communication by the communication means to a frequency band with lower communication speed when a print job is already being executed; or (b) the condition is that data received by the communication means includes data indicating a state of an application for operating the image forming apparatus in a communication partner, the state of the application being an active state or a non-active state, and (a) the condition is that data received by the communication means includes a print job, and the control means for switching includes: control for switching a frequency band of communication by the communication means to a frequency band with lower communication speed when a print job is already being executed; or (b) the condition is that data received by the communication means includes data indicating a state of an application for operating the image forming apparatus in a communication partner, the state of the application being an active state or a non-active state, and the control means for switching includes: control for switching a frequency band of communication by the communication means to a frequency band with lower communication speed or stability when the state of the application is a non-active state.