At times, it can be very hard to maintain a positive attitude and stay motivated when doing PhD research.
Many researchers (students) suffer from insecurity, anxiety, and even boredom.
Realize that these are normal feelings.
Try to find a sympathetic ear -- another graduate student, your advisor, or a friend outside of faculty/university.
Try to identify why you're having trouble and identify concrete steps that you can take to improve the situation.
Stay focused and motivated -- it often helps to have organized activities to force you to manage your time and to do something every day.
Balance your work and life (bercuti-cuti lah selalu to get fresh ideas....)