Time to take medicine for fever and headache

How long after having fever or headache should one take medicine? This is the right way

When we have fever or headache, we feel like taking medicine immediately so that we…