My connection seems to be working at the moment, before it was dropping out every 5 SECS, after doing some random steps it seems to be working
My steps were:
Removed the network configuration and preference files as outlined here:
http://osxdaily.com/2014/10/25/fix-wi-fi-problems-os-x-yosemite/
From there I went into network preferences and deleted my wifi connection and then renewed it and joined my network, it still did not connect to the internet after doing this.
I then turned off the WIFI and then decided to reset my router by turning it on and off.
Returned to the mac and reconnected to the wifi.
It has been connected for 20mins now an no issues.
Hopefully this lasts and helps someone else 🙂