Like total eclipse said there are a lot of meds out there that can help, as well as different types of counselling and therapy to deal with the reasons the thoughts are there in the first place.
Your best bet is probably to get yourself to a doctor and discuss what you are feeling so that they can work out what would help you most.