Simvastatin is to reduce blood cholesterol levels. Ibuprofen is an anti-inflammatory. You can probably take these together. If you ever have doubts, either read the leaflet that should be enclosed with the pills, or ask the pharmacist - they are qualified to know this stuff.