my internet is working completely fine, its working on my laptop and other devices. i rebooted my phone and restarted my router but still isnt working on my phone. it keeps connecting then disconnecting it just happened today
Lay the phone on the router, then connect (while the phone is still laying on the router). If it works that way, the phone's antenna is disconnected. If it's still under warranty, contact the seller for a repair. If not, find a good repair shop.
If it still doesn't work when it's laying on the router, the wifi radio probably went bad and you'll have to have that repaired - in one of the two ways above.