What are the best exercises to build up muscles either bodyweight or in the gym?

I´ve started to work out again because I´m training alone it takes me more discipline to do bodyweight exercises at home than going to the gym. So I´ve been wondering if you got any recommendations.

Updates
+1 y
Thanks for the replies so far. I've started to work out again since I'm kind of sick being a skinny guy especially since it raises the risk of longer injuries.
What are the best exercises to build up muscles either bodyweight or in the gym?
Post Opinion