Rocky Mountain spotted fever (RMSF) is a bacterial infection. People get it from the bite of an infected tick. Most infections happen in the spring and summer, when ticks are active.