Wisdom tooth is generally erupt last in the jaw.if enough space is available for wisdom tooth than it will erupt without any problem but in case the space is no sufficient than it cause pain and swelling of gums. you have to visit dentist for xray. you can wait for sometime if symptoms is resolve it is fine otherwise need to get it done extraction.