There can be many reasons for the same but for sure it is a psychological disorder which is totally curable . Don't worry . Consult a psychologist and check on the actual reason . Some reasons could be psychosis, manic depression , schizophrenia etc. Once a diagnosis is done on what it is exactly , proper treatment can be provided .
Next Steps
Treatment given at earliest will be better .