Whether you can take anti-inflammatory drugs when you have a fever depends on whether the fever is caused by a bacterial infection, if it is a bacterial infection you need to use anti-inflammatory drugs, but if it is a viral infection using anti-inflammatory drugs is not effective. For example, most common colds are caused by viral infections, fever accompanied by body aches and pains, nasal congestion, sneezing, runny nose, etc. These are symptoms of viral colds, and it is recommended to treat them with anti-cold or anti-viral drugs, such as oseltamivir, Lianhua Qingpu capsule, etc. If coughing, coughing yellow sputum, sore throat, pus in the tonsils and other symptoms are combined at a later stage, bacterial infection is considered, and it is best to do routine blood tests, with significantly higher white blood cells and higher neutrophil ratio.