The first few days can be a bit rocky but it should pass soon.
Finding it difficult to sleep sounds about right, when I started citalopram (which is similar to sertraline) I could only manage a few hours each night.