I'm having trouble putting my windows views back, I tried a few things and they won't go back, they did before
The simple way (that doesn't involve careful dragging of a corner) is to right-click the line between two windows - eg, the horizontal between the two top-right frames - and select 'Join Area'. You can then left-click the panel that you want to close. Note, however, that as mentioned by @Timaroberts, you can only do this on frames that match in width/height - otherwise you have to join other areas until the panels you want to join match in size.