Your post is not clear.
1) Are you saying you can ONLY get into Facebook and Google?
2) What do you mean by "other devices"?
3) What happens when you try other sites?
4) Have you tried another browser?
5) What is new or different since the last time everything worked properly (ie, new hw, new sw, virus, error, etc)?
You need to provide as much information as possible before we can offer intelligent assistance.