As cryptocurrency market is volatile market, ups and downs are part of it. Invest money in this market which you can afford to loose.
I can say that there is more ups than downs in bitcoin market. Also without any loss we can't gain experience. Its good lesson to you.
If you can predict or if you think that market will go down , you can buy stable coin and later you can again buy bitcoin or any other altcoin . And keep in mind it's long term investment, you have to wait for market up.
Sorry for your loss bro....