Explanation
The DAY function returns the day value for a date. In the example show, the day value for the date in B5 (January 11, 2016) is 11. Because dates are just serial numbers in Excel, we can subtract 11, then add 1 to get the date value for January 1, 2016.
Alternative with EOMONTH
The EOMONTH function returns the last day of in the month of a given date. This means you can get the first day of the current month with a formula like this:
=EOMONTH(A1,-1)+1
This formula "rolls back" a date in A1 to the last of the previous month, then adds 1. The result is the first day of the "current" month (i.e. first day of the month given by the date in A1).