My cloudflare is not working

You must learn to ask correct question.

If user type in https, there will be no redirect
If http was typed, redirect will of course take place. (HTTPS enforcement)

This is assuming SSL was installed in the first place.

You may read below for more info