By constantly withdrawing money, I am assuming you mean constantly convert it to fiat and take your profits (or make a loss), right? In that case, the only way to stop yourself from doing this is to keep a profit and a loss goal. You need to develop a sort of self discipline for this case. You need to tell yourself that you can only convert it to fiat once you reach your profit or loss threshold (why would you even convert when you are on the red zone anyway?). Keep yourself distracted and stop looking at your portfolio every now and then.
Needs and wants/problems to solve with money never stop arising, how do you handle your withdrawal?
If you have financial problems, you shouldn't be investing in crypto currencies. Invest only what you can afford to lose!