The first thing you should do is to make it private and never share it to anyone; in this way, you will avoid to get robbed.
Come on, this is kindergarden stuff.. It's kinda obvious you shouldn't share personal information with strangers, especially your online wallets? Telling somebody your Bitcoin account is as nonsense as telling somebody your credit card information..
Anonymously or not, links should always be verified before entered. It is more likely for your wallet to be penetrated by hackers or viruses than having your funds being stolen after telling somebody your private key or seed. By "offline" we usually refer to a Bitcoin wallet on a PC that's never connected to the Internet, but the OP apparently refers to something completely different.
If you have a PC that is not connected to the Internet, then you don't have much to worry about. Just take enough care when plugging in any USB stick because it could be infected.
If the PC your wallet is set up onto is Internet connected, then you must take precaution because fund loss isn't something unusual to happen and you could turn into just another victim of it. The best thing you can do is buying a hardware wallet if you are holding large sums. There are a few safe hw wallets around with different price tags based on which cryptocurrencies you are using. If you aren't holding large sums, then it probably isn't worth the costs to buy a hardware wallet but you should know you're always vulnerable and being a victim of keyloggers or cryptocurrency-stealing specific viruses could become a disaster for you.
A good option would be taking an older smartphone, resetting it and turning it into a cold storage. Most of us have an old phone lying around we haven't used in a very long time, and that could be turned into a way of storage not as safe as Trezor or Ledger, but surely safer than a wallet installed on a daily-driver PC.
I believe the OP meant the wallet was closed and their funds somehow vanished. As far as I know, you can grab the "wallet.dat" file from a specific directory on your computer, but that might be an outdated thing as the last time I backed up my ".dat" files was somewhere around 2014. If you can still grab the file and the wallet was not encrypted (if you encrypt the wallet, the ".dat" needs a password to be unlocked as far as I know), the OP's friend might've been a victim of hacking.
Although the hw wallets aren't very cheap though, I highly recommend using them. They give you the feeling of safety no other way of storing Bitcoin does.