Caffeine generally stay in the body upto 6hr .
You can take caffeine 3 hr before go to bed.
Next Steps
You should give up the habit of caffeine.
Health Tips
Please follow good life style as take plenty of fluid and take less spicy and fatty foods and keep positive attitude to fight any problem of your life