One "rule" regarding the use of commas in English is: if no pause is needed in speech, no comma is needed in writing. In your sentence, no pause is needed in speech after if. Therefore, no comma is needed.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.