What can help racing thoughts, feeling on edge, and restless sleeping?

What can help. It is best to seek professional treatment since these symptoms can be part of many psychological conditions. Perhaps depression or anxiety or another diagnosis. You may need to change certain simple habits or get counseling or try medication.