In order to cancel your flight ticket, first review fare conditions to determine whether a refund is possible, and if you will have to pay a fee. Contact your airline by phone, request a refund via their website, or contact your travel agent.
If you did not buy traveler’s insurance, you will have to pay a fee, but this is much better than losing all of your money.