RLS is aggravated by taking coffee/tea before going to sleep. It’s better not to take tea/coffee at least 3 hours before going to sleep. Green tea is preferable.