It is always better to take the medications prescribed to you rather than self medications. If it has not helped there can be possibilities like you are not taking correct dose and frequency of edicines, or the organism causing the infection is become resistant to the medication you are taking.