If you are having problems connecting to wifi on your Samsung galaxy s8 here are a few trouble shooting steps to follow.
1. Swipe down from the top of your phone
2. Click on the gear icon
5. Press and hold on the network you are having trouble with until another menu appears then click on Forget network:
6. now connect to the network again by clicking on the wifi network name
7. enter password
8. click connect