Hi. First point, there might be many reasons for your bad breath. Your teeth might be good but if you have acidity problem or if you don't consume enough water and food on time. Or if you don't brush your teeth properly twice a day. Second point, if you have discomfort /pain on the wisdom tooth area, then there might be infection in the gums around the tooth.
Next Steps
Visit you dentist as early as possible and take suitable treatment.
Health Tips
Your doctor can suggest you best medicine for the relief from pain/discomfort. Good oral health habits are simple : Properly Brush gently twice a day for 2 minutes atleast. Floss your teeth if possible. Visit your dentist for regular check up atleast every 6 months.