Welcome to the forum family! It is great that you found us and we will be here for you throughout the entire recovery and beyond!
When you are fully recovered---I am willing to bet a large sum of money that you wil have changed your tune.
Right now, you are going through the dark days of recovery---the first four weeks are the toughest, and recovery can take longer than we would like it to, and longer than we thought it would.
I can't sleep thru the night
Sleep issues are very common---I also had to deal with it. While I was not in pain, I could not get comfortable.
Since you are in pain---are you taking your pain meds on the clock---on schedule---if you are doing that, then I would contact your OS or your GP and let them know that your pain is not being treated effectively.
It is vitally important that your pain be treated effectively and efficiently.
you have been given great information, and those articles and advice that other have given to you will help you out.
As for me, I had a BTKR seven years ago this past Saturday---and I had a tough recovery---I did not understand how long it takes to be fully recovered---but, in looking back, I am so ever glad that i had both of my knees replaced----my life now is better than it was three years prior my BTKR, and I have no pain, nor do I have to take pills, wear braces, or restrictions!
Give it time---please be patient---you are still very, very early in recovery.
It can take upwards to a year to be fully recovered---mine took close to eight months---maybe a tad longer---but boy, was it worth it.
I am sure that you will be pleased with how you feel later on!