It is not possible to give a definite answer to this question as everything depends on your individual situation. Some types of pain can be managed by medication and rest. However, severe pain caused by an accident or injury requires medical care from experienced pain specialists. You should not make use of any kind of medication before discussing this with a doctor.