Everytime I'm up iny house around midnight or so, I get these urges to just end it all. I've been going to through depression, I want to stop the urges?

Get help. Suicidal thoughts need to be taken seriously. There is not a simple, quick way to make the urges stop- however therapy can be very effective and often this is combined with psychotropic medications. If you aren't seeing a therapist - it is really important. Strong urges with a plan warrant emergency evaluation. Suicide is a permanent solution to a temporary problem. Take care.