To lose something (to misplace or no longer have it).
駅で財布をなくしてしまった。
I lost my wallet at the station.
大事な書類をなくさないように気をつけてください。
Please be careful not to lose the important documents.
鍵をなくすと家に入れなくなる。
If you lose your keys you can't get into the house.
To get rid of or eliminate something; to remove or abolish (can be physical or abstract, e.g., eliminate discrimination).
工場は職場の危険をなくすために対策をとった。
The factory took measures to eliminate workplace hazards.
偏見をなくすには教育が大切だ。
Education is important to eliminate prejudice.
不要な書類を処分してデスクの混乱をなくした。
I got rid of unnecessary papers and removed the clutter on my desk.