IgM antibodies are the first antibodies to be produced in response to an infection.
The presence of these antibodies usually indicates a recent infection.