@noko59 @Andzoho
This post is from 2017 and since there have been various updates to Origin since then I'll lock down this post. I recommend searching "Origin Stuck in Offline" in the search bar at the top of the Answers HQ to see accepted solutions around this.
Origin just came out with a new update in the last 48 hours, I recommend deleting the current version off your PC and re-download the newest version here.
If you are playing on a WiFi network, try plugging your PC/laptop in with an Ethernet cable to see if you can connect that way. We also have some connection troubleshooting steps below that can help get you back online for Origin.
Basic Connection Troubleshooting
https://help.ea.com/en/help/faq/connection-troubleshooting-basic/
Programs that conflict with Origin
https://help.ea.com/en-us/help/origin/origin/programs-that-may-cause-conflicts-with-origin/