Ibuprofen is a non steroidal anti-inflammatory medication that is safe to be taken during certain stages of pregnancy and for…