When taking multiple painkillers, find the optimum time to take them