I wouldn't risk spreading whooping cough. It can be deadly in infants and the elderly. Get checked but if positive stay home. Even if you will not personally be in contact with an infant someone you spread it to may well be.