hey i heard that its not good to take medication before sleeping as in you cant take medication and then immidiantly go to sleep.

why?