Where do I add RewriteEngine On my htaccess file

Hey everyone I have a question. Where exactly do I add this on my htaccess file? I have the site not secure and when I visit sitenopadlock its says to add that code to my htaccess. Not sure exactly where to add it.. Thanks

RewriteEngine On
RewriteCond %{HTTP_HOST} wearethe3percent\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R,L]
 
Top