Luckily you didn't lose much. Maybe $5.
Nowadays, with the popularity of bitcoin going up, it will also lead to a higher amount of hackers on the prawl. Pretty much everyone with more than 0.1 BTC should have a hardware wallet. Just get a Ledger wallet for God's sake. It's 15 bucks.