First of all you need to find the cause behind your behaviour, for that you can consult a good counsellor with whom you can talk about your issues and understand things
Do you have any anxiety or fear? Fear of commitment or any other insecurity.
You can consult a good homoeopath also who can give you proper medicines for your ailments and help you come out of it
Next Steps
Take proper sleep, regular exercises and regular meals